summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-04-09 18:42:25 +0100
committerdavidovski <david@davidovski.xyz>2022-04-09 18:42:25 +0100
commit55d1861110d56e35b2c13d7742e0dc7ca2dd2665 (patch)
tree7d76c4ea28066e86482c6670d44d2640c4ec7dda
parentbc4902d4c702d9beac47e975dd962851a59dace5 (diff)
fixed umask for bash install script
-rwxr-xr-xscripts/install.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/install.sh b/scripts/install.sh
index 3d28534..f31d487 100755
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -9,6 +9,8 @@ XIFLAGS="-yl"
TMPDIR=/tmp
SYSROOT=$1
+umask 0022
+
[ ! -e $XIPKG ] && {
git clone https://xi.davidovski.xyz/git/xiutils.git $TMPDIR/xiutils
make && make install