Enable building of autopackages from specific Git revs.
[doldaconnect.git] / autopackage / makeall
index c2edd91..f6ba1c3 100755 (executable)
@@ -6,6 +6,9 @@ tempdir="$(mktemp -d /tmp/dc-apkg-XXXXXX)"
 cd "$tempdir"
 git clone git://git.dolda2000.com/doldaconnect
 cd doldaconnect
+if [ -n "$1" ]; then
+    git checkout "$1"
+fi
 ./bootstrap
 ./configure