turn off py2 builds, that worked all right with all the tags
[infrastructure.git] / scripts / sfa-stable-debian.sh
index a8d176f..1d1a281 100755 (executable)
@@ -7,7 +7,8 @@ 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,$stable,,g -e s,$stabledot,,g -e s,/sfa--,,g)
-  stablelink="stable-$base"
+  version=$(echo $dir | cut -c1)
+  stablelink="stable-sfa$version-$base"
   echo Linking $stablelink to $dir
   [ -h $stablelink ] && rm $stablelink
   [ -e $stablelink ] && { echo "found not-a-link $base - ignored" ; continue  ; }