From 7af500421ae18f11c0261cd99442f2ea8ea3f259 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Mon, 5 Jan 2015 14:49:29 -0500 Subject: Fix non-generating scripts. --- common.inc | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'common.inc') diff --git a/common.inc b/common.inc index f56290b..4be23ec 100644 --- a/common.inc +++ b/common.inc @@ -30,9 +30,16 @@ function readlink_ex echo $script_location } -function init_vars +function init_pkgbuild { - scripts_default=( preinstall postinstall ) PKGBUILD_CMD="pkgbuild" PKGBUILD_ARGS="--scripts $PKG_SCRIPTS --identifier edu.stsci.$PKG_NAME.pkg --root $PKG_ROOT" + export PKGBUILD_CMD + export PKGBUILD_ARGS +} + +function init_vars +{ + scripts_default=( preinstall postinstall ) + export scripts_default } -- cgit