summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2021-05-19 09:45:50 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2021-05-19 09:45:50 +0000
commitb6a18ec7f3d489c2fc129c4791fc345c5d205381 (patch)
tree91103778b8ac8126b37367d1bec2823237d012d2
parentUpdating. (diff)
downloadprogress-linux-tools-b6a18ec7f3d489c2fc129c4791fc345c5d205381.tar.xz
progress-linux-tools-b6a18ec7f3d489c2fc129c4791fc345c5d205381.zip
Updating.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rwxr-xr-xbin/pupdate.sh10
1 files changed, 9 insertions, 1 deletions
diff --git a/bin/pupdate.sh b/bin/pupdate.sh
index 463b5af..1ed020f 100755
--- a/bin/pupdate.sh
+++ b/bin/pupdate.sh
@@ -3,6 +3,10 @@
set -e
case "$(basename ${0})" in
+ d*)
+ MODE="debian"
+ ;;
+
p*)
MODE="progress-linux"
;;
@@ -13,6 +17,10 @@ case "$(basename ${0})" in
esac
case "${MODE}" in
+ debian)
+ DOWNSTREAM_BRANCH=""
+ ;;
+
progress-linux)
DOWNSTREAM_BRANCH="progress-linux"
;;
@@ -251,7 +259,7 @@ then
rm -rf "${DSC_TEMPDIR}"
fi
-if [ "${MERGE_DEBIAN}" = "true" ]
+if [ "${MERGE_DEBIAN}" = "true" ] && [ -n "${DOWNSTREAM_BRANCH}" ]
then
Switch_downstream_branch