From: Thierry Parmentelat <thierry.parmentelat@inria.fr> Date: Thu, 28 Feb 2013 09:27:09 +0000 (+0100) Subject: fixed X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=225d78afd08ad382b3e20152dc94c71a7c206b8e;p=infrastructure.git fixed --- diff --git a/scripts/sfa-stable-debian.sh b/scripts/sfa-stable-debian.sh index f6a01d5..e535978 100755 --- a/scripts/sfa-stable-debian.sh +++ b/scripts/sfa-stable-debian.sh @@ -6,7 +6,7 @@ stable=$1; shift stable=$(echo $stable | sed -e s,/,,g) stabledot=$(echo $stable | sed -e s,-,.,g) for dir in $(ls -d $stable/*[24]) ; do - base=$(echo $dir | sed -e s,/,,g -e s,--,,g -e s,sfa-,,g -e s,$stabledot,,g) + base=$(echo $dir | sed -e s,$stable,,g -e s,$stabledot,,g -e s,/sfa--,,g) stablelink="stable-$base" echo Linking $stablelink to $dir [ -h $stablelink ] && rm $stablelink