From cb4ca53aea434c8fe7c4a071037a6965cb917519 Mon Sep 17 00:00:00 2001 From: "James E.H. Turner" Date: Thu, 1 Sep 2016 16:56:23 -0300 Subject: Remove extern.pkg from the build variant, so it doesn't end up in the tarball & overwrite the existing one(s) --- scripts/ac_build_iraf_pkg | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scripts/ac_build_iraf_pkg') diff --git a/scripts/ac_build_iraf_pkg b/scripts/ac_build_iraf_pkg index 997e266..e5efa13 100755 --- a/scripts/ac_build_iraf_pkg +++ b/scripts/ac_build_iraf_pkg @@ -147,6 +147,10 @@ if [ -r "$pkg_omit_list" ]; then fi fi +# Remove extern.pkg from the build variant, so it doesn't end up in the +# tarball and overwrite the existing one(s): +rm -f "${PREFIX}/${extern_pkg}" "${PREFIX}/${extpkg_bak}" + # Ensure status=0 on reaching the end (& not left over from some condition). exit 0 -- cgit