summaryrefslogtreecommitdiff
path: root/package.sh
diff options
context:
space:
mode:
Diffstat (limited to 'package.sh')
-rwxr-xr-xpackage.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/package.sh b/package.sh
index 2d683a8ba..24ccad70d 100755
--- a/package.sh
+++ b/package.sh
@@ -11,7 +11,6 @@ export PKG_MAKE=$0
export PKG_NAME=${1%_}
export PKG_BASE=$(realpath "$(dirname "$0")")
-source "${PKG_BASE}/helper.sh"
# when running fakeroot, we shouldn't use the previous build result
# as we don't have the fakeroot session info anymore
@@ -22,6 +21,8 @@ else
./remake.sh "${PKG_NAME}"
fi
+source "${PKG_BASE}/helper.sh"
+
pkg: mkdir -p /DEBIAN
./control.sh "${PKG_NAME}" control >"$(pkg_ /DEBIAN/control)"