summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to '')
-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