From 7120a43108c61113bb31f7af027bfd4b74d9014f Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Thu, 28 Nov 2013 09:13:18 +0100 Subject: handle renaming of buildscripts inside the build script --- bin/build-deb-package | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/build-deb-package') diff --git a/bin/build-deb-package b/bin/build-deb-package index 17ede71..190cf27 100755 --- a/bin/build-deb-package +++ b/bin/build-deb-package @@ -314,7 +314,7 @@ upload_packages() { ### MAIN ### set_vars $@ && { - if [ "x$(basename $0)" = "x$PREFIX-build-package" ] || [ "x$(basename $0)" = "x$PREFIX-build+upload-package" ]; then + if [ "x$(basename $0)" = "x$PREFIX-build-deb-package" ] || [ "x$(basename $0)" = "x$PREFIX-build+upload-deb-package" ]; then cd $PROJECT_DIR && pkgneedsbuild $CHECKOUT || [ "$FORCE_BUILD" -eq 0 ] && { prepare_workspace && { clear_pkgdist @@ -322,7 +322,7 @@ set_vars $@ && { } } fi - if [ "x$(basename $0)" = "x$PREFIX-upload-package" ] || [ "x$(basename $0)" = "x$PREFIX-build+upload-package" ]; then + if [ "x$(basename $0)" = "x$PREFIX-upload-deb-package" ] || [ "x$(basename $0)" = "x$PREFIX-build+upload-deb-package" ]; then upload_packages fi } -- cgit v1.2.3