diff options
-rwxr-xr-x | update_latest.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/update_latest.sh b/update_latest.sh new file mode 100755 index 000000000..66a3e9999 --- /dev/null +++ b/update_latest.sh @@ -0,0 +1,9 @@ +#/bins/sh +set -e + +version="$1" + +ln -sf ../downloads/$version latest/directory +for f in $(ls "downloads/$version/"); do \ + ln -sf "../downloads/$version/$f" latest/$(echo $f | sed -e "s@-$version@@") +done |