From 46e0e458820ad0876c8d045109b20ce2171756c0 Mon Sep 17 00:00:00 2001 From: James Turner Date: Wed, 19 Oct 2016 21:32:46 -0300 Subject: Create extern.pkg if it doesn't already exist, for better foolproofing; we already check that ur_extern.pkg exists, so this is unlikely to lead to extern.pkg being written to weird places when invoked improperly (not a big deal anyway). --- scripts/ac_config_iraf_pkg | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scripts/ac_config_iraf_pkg') 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 -- cgit