[Piuparts-commits] [SCM] piatti.debian.org configuration files branch, master, updated. 148332ef45997ba3aaf38cc2c9a28441083bad49
Holger Levsen
holger at layer-acht.org
Fri Dec 23 10:23:42 UTC 2011
The following commit has been merged in the master branch:
commit 77427c5a1a4afa9121e0495632690750bcefa487
Author: Holger Levsen <holger at layer-acht.org>
Date: Sun Oct 23 13:11:11 2011 +0200
support more branches
diff --git a/home/piupartss/bin/update-piuparts-setup b/home/piupartss/bin/update-piuparts-setup
index 1d0074a..d4dad3d 100755
--- a/home/piupartss/bin/update-piuparts-setup
+++ b/home/piupartss/bin/update-piuparts-setup
@@ -43,6 +43,11 @@ if [ ! -d piatti ] ; then
cd ..
fi
+# git checkout branch if $1 is given
+if [ ! -z "$1" ] ; then
+ git checkout $1
+fi
+
cd piatti
git pull
cd
@@ -109,6 +114,11 @@ if [ ! -d /org/piuparts.debian.org/src/ ] ; then
fi
cd /org/piuparts.debian.org/src/piuparts
pwd
+# git checkout branch if $1 is given
+if [ ! -z "$1" ] ; then
+ git checkout $1
+fi
+
git pull
sudo make prefix=/org/piuparts.debian.org docdir=/org/piuparts.debian.org/htdocs/doc/ install install-doc
--
piatti.debian.org configuration files
More information about the Piuparts-commits
mailing list