summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdesktop/scripts/unopkg.sh8
1 files changed, 2 insertions, 6 deletions
diff --git a/desktop/scripts/unopkg.sh b/desktop/scripts/unopkg.sh
index 846c2eb40fef..d16d2269d454 100755
--- a/desktop/scripts/unopkg.sh
+++ b/desktop/scripts/unopkg.sh
@@ -59,15 +59,11 @@ for arg in $@
do
case "$arg" in
-env:*) BOOTSTRAPVARS=$BOOTSTRAPVARS" ""$arg";;
- -v) VERBOSE=true;;
- --verbose) VERBOSE=true;;
- --shared) SHARED=true;;
+ --shared) umask 0022;;
+ # make sure shared extensions will be readable by all users
esac
done
-#make sure shared extensions will be readable by all users
-[ "$SHARED" = true ] && umask 0022
-
# extend the ld_library_path for java: javaldx checks the sofficerc for us
if [ -x "$sd_prog/../ure-link/bin/javaldx" ] ; then
my_path=`"$sd_prog/../ure-link/bin/javaldx" $BOOTSTRAPVARS \