summaryrefslogtreecommitdiff
path: root/desktop/scripts/unopkg.sh
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/scripts/unopkg.sh')
-rw-r--r--desktop/scripts/unopkg.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/desktop/scripts/unopkg.sh b/desktop/scripts/unopkg.sh
index d0bb4301cb24..779a13746286 100644
--- a/desktop/scripts/unopkg.sh
+++ b/desktop/scripts/unopkg.sh
@@ -61,9 +61,13 @@ do
-env:*) BOOTSTRAPVARS=$BOOTSTRAPVARS" ""$arg";;
-v) VERBOSE=true;;
--verbose) VERBOSE=true;;
+ --shared) SHARED=true;;
esac
done
+#make sure shared extensions will be readable by 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 \