diff options
author | Nico Dietrich | 2006-04-04 22:21:25 +0200 |
---|---|---|
committer | Nico Dietrich | 2006-04-04 22:21:25 +0200 |
commit | 70423fe25fce37216158385260e08b4ea882b60e (patch) | |
tree | 6d8512eb4b53970ff45042ebcc9a760c4695fd84 /installer | |
parent | Advanced Horizontal Frequency Deduction, Bugfixes (diff) | |
download | core-70423fe25fce37216158385260e08b4ea882b60e.tar.gz core-70423fe25fce37216158385260e08b4ea882b60e.tar.xz core-70423fe25fce37216158385260e08b4ea882b60e.zip |
next fix
git-svn-id: http://svn.openslx.org/svn/openslx/ld4@161 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'installer')
-rwxr-xr-x | installer/ld4-inst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/installer/ld4-inst b/installer/ld4-inst index 2a3156d5..dd053ea3 100755 --- a/installer/ld4-inst +++ b/installer/ld4-inst @@ -374,8 +374,8 @@ setup_server () { set -- $cfile # check if file changed - lastfile=`ls -lt ${dxs_conf}/${1}* | sed -n "2,2s/.*${1}/${1}/p"` - ! [ -z $lastfile ] && diff ${dxs_conf}/${1}-${timestamp} ${lastfile} >/dev/null + lastfile=`ls -lt ${dxs_conf}/${1}* | sed -n "2,2s%.*"${1}"%"${1}"%p"` + ! [ -z $lastfile ] && diff ${dxs_conf}/${1}-${timestamp} ${dxs_conf}/${lastfile} >/dev/null if [ $? -eq 0 ] ; then echo "Configuration file ${2} didn't change - leaving unchanged" rm ${dxs_conf}/${1}-${timestamp} |