|
|
@ -169,17 +169,19 @@ for STE in $SUITES; do
|
|
|
|
done
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
for f in ${PUBDIR}${NOW}/livecd.*.cloop-*; do
|
|
|
|
for f in ${PUBDIR}${NOW}/livecd.*.cloop-*; do
|
|
|
|
target=${f%-*}
|
|
|
|
if [ -f $f ]; then
|
|
|
|
if [ ! -f ${target} ]; then
|
|
|
|
target=${f%-*}
|
|
|
|
for fsbs in 4096:4096 1024:65536; do
|
|
|
|
|
|
|
|
if [ -f ${target}-${fsbs} ]; then
|
|
|
|
|
|
|
|
ln -sf ${target##*/}-${fsbs} ${target}
|
|
|
|
|
|
|
|
break
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
done
|
|
|
|
|
|
|
|
if [ ! -f ${target} ]; then
|
|
|
|
if [ ! -f ${target} ]; then
|
|
|
|
best=$(ls -ld ${target}-* | sort -k5,5n| awk '{print $NF; quit}')
|
|
|
|
for fsbs in 4096:4096 1024:65536; do
|
|
|
|
ln -sf ${best##*/} ${target}
|
|
|
|
if [ -f ${target}-${fsbs} ]; then
|
|
|
|
|
|
|
|
ln -sf ${target##*/}-${fsbs} ${target}
|
|
|
|
|
|
|
|
break
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
done
|
|
|
|
|
|
|
|
if [ ! -f ${target} ]; then
|
|
|
|
|
|
|
|
best=$(ls -ld ${target}-* | sort -k5,5n| awk '{print $NF; quit}')
|
|
|
|
|
|
|
|
ln -sf ${best##*/} ${target}
|
|
|
|
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
done
|
|
|
|