summaryrefslogtreecommitdiff
path: root/scripts/ac_config_iraf_pkg
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/ac_config_iraf_pkg')
-rwxr-xr-xscripts/ac_config_iraf_pkg3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/ac_config_iraf_pkg b/scripts/ac_config_iraf_pkg
index c1f3e09..f41f943 100755
--- a/scripts/ac_config_iraf_pkg
+++ b/scripts/ac_config_iraf_pkg
@@ -61,6 +61,9 @@ if [ ! -d "$PREFIX" -o ! -w "$PREFIX" ]; then
exit 1
fi
+# Create any new file with the expected permissions:
+umask 022
+
# The Python script for updating extern.pkg must be invoked as follows because
# (if directly executable) conda insists on changing its interpreter path to
# one in the env that may not exist, since IRAF packages do not require python