summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/ac_build_iraf_pkg4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/ac_build_iraf_pkg b/scripts/ac_build_iraf_pkg
index 6b756de..0428078 100755
--- a/scripts/ac_build_iraf_pkg
+++ b/scripts/ac_build_iraf_pkg
@@ -39,9 +39,9 @@ unset ARCH CFLAGS CXXFLAGS LDFLAGS MACOSX_DEPLOYMENT_TARGET
# Create any new dirs & files with the expected permissions:
umask 022
-# Strip any "iraf." from the Conda package name, to get the IRAF equivalent
+# Strip any "iraf." from the Conda package name, to get the IRAF equivalent,
# and determine the installation path accordingly:
-pkg_name=`echo "$PKG_NAME" | sed -e 's|^iraf[.]||'`
+pkg_name=`echo "$PKG_NAME" | sed -e 's|^iraf[.]||' -e 's|^pyraf[.]||'`
pkg_path="${PREFIX}/${extern_dir}/${pkg_name}"
# Create the destination directory, if needed: