diff --git a/build.sh b/build.sh index 29906db..79382ad 100755 --- a/build.sh +++ b/build.sh @@ -22,4 +22,5 @@ if [ $(($num - 3)) -ge 1 ]; then rm -rf $(find . -mindepth 1 -maxdepth 1 -type d | sort | tail -n $(($num - 3))) fi -ln -sf $date /iso/latest +# -r: relative symlink, requires coreutils 8.16+ +ln -sfr /iso/latest /iso/$date/$filename