aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtor-browser-dl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tor-browser-dl b/tor-browser-dl
index d73bf81..5609841 100755
--- a/tor-browser-dl
+++ b/tor-browser-dl
@@ -63,7 +63,7 @@ gpg --verify $DL/$SIGN $DL/$FILE || exit 1
# Move and symlink
mv $TEMP/tor-browser_$LANG $APP_BASE/$ARCH-$VERSION
rm -rf $APP_BASE/$ARCH && \
-ln -sf $APP_BASE/$ARCH-$VERSION $APP_BASE/$ARCH
+( cd $APP_BASE && ln -sf $ARCH-$VERSION $ARCH )
# Cleanup
rm -rf $TEMP