]> gitweb.fluxo.info Git - scripts.git/commitdiff
Relative symlinks on tor-browser-dl
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 13 May 2014 15:03:39 +0000 (12:03 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 13 May 2014 15:03:39 +0000 (12:03 -0300)
tor-browser-dl

index d73bf81ebd239f6056628d6e8f35b30cb2fcbf3a..56098410724df93f3db618b2872ec2011055968f 100755 (executable)
@@ -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