summaryrefslogtreecommitdiff
path: root/db-functions
diff options
context:
space:
mode:
Diffstat (limited to 'db-functions')
-rw-r--r--db-functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/db-functions b/db-functions
index ae1a171..b196d57 100644
--- a/db-functions
+++ b/db-functions
@@ -21,7 +21,7 @@ source_makepkg () {
UMASK=""
set_umask () {
- UMASK="$(umask)"
+ [ "$UMASK" == "" ] && UMASK="$(umask)"
umask 002
}