summaryrefslogtreecommitdiff
path: root/package.sh
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2018-12-12 12:02:10 -1000
committerSam Bingner <sam@bingner.com>2018-12-12 12:11:28 -1000
commit2e43ae2b0a75cf1134a70eafcb205689c5413496 (patch)
treea605a2d98b2c0ef3554973296d577de434bb33a1 /package.sh
parent312b36667d9a63b35c756130d204b9248629bd76 (diff)
Reset build revision if data version increases
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)"