summaryrefslogtreecommitdiff
path: root/debian/build-orig.sh
diff options
context:
space:
mode:
authorctrlsoft-guest <ctrlsoft-guest>2008-05-19 22:35:57 +0000
committerctrlsoft-guest <ctrlsoft-guest>2008-05-19 22:35:57 +0000
commit001be8692710d30325d6883d1443311f8b858523 (patch)
treeefc618b684d867363d90c65bb7d1e4416465f560 /debian/build-orig.sh
parenta810ea9ab862ec88efdeba7c690e3a5584e9acee (diff)
Make arguments to build-orig.sh optional, add get-orig-source make target.
Diffstat (limited to 'debian/build-orig.sh')
-rw-r--r--debian/build-orig.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/debian/build-orig.sh b/debian/build-orig.sh
index ba1925a..eee2094 100644
--- a/debian/build-orig.sh
+++ b/debian/build-orig.sh
@@ -1,11 +1,10 @@
#!/bin/bash
-GIT_URL=$1
-REFSPEC=$2
+REFSPEC=$1
+GIT_URL=$2
shift 2
if [ -z "$GIT_URL" ]; then
- echo "Usage: $0 <samba4-git-url> [<refspec>]"
- exit 1
+ GIT_URL=git://git.samba.org/samba.git
fi
LDBTMP=$TMPDIR/$RANDOM.ldb.git