summaryrefslogtreecommitdiffhomepage
path: root/update_latest.sh
diff options
context:
space:
mode:
Diffstat (limited to 'update_latest.sh')
-rwxr-xr-xupdate_latest.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/update_latest.sh b/update_latest.sh
index a39c90144..45122a68d 100755
--- a/update_latest.sh
+++ b/update_latest.sh
@@ -14,6 +14,7 @@ ln -sf --no-target-directory ../downloads/$version latest/directory
for f in $(ls "downloads/$version/"); do \
ln -sf --no-target-directory "../downloads/$version/$f" latest/$(echo $f | sed -e "s@-$version@@")
done
-ln -sf --no-target-directory "downloads/$version" "downloads/latest"
+
+ln -sf --no-target-directory "$version" "downloads/latest"
echo -n "$version" > latest/version