summaryrefslogtreecommitdiffstats
path: root/installer
diff options
context:
space:
mode:
authorNico Dietrich2006-04-04 22:21:25 +0200
committerNico Dietrich2006-04-04 22:21:25 +0200
commit70423fe25fce37216158385260e08b4ea882b60e (patch)
tree6d8512eb4b53970ff45042ebcc9a760c4695fd84 /installer
parentAdvanced Horizontal Frequency Deduction, Bugfixes (diff)
downloadcore-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-xinstaller/ld4-inst4
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}