X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=dcp-init;h=fa89bcaef9f25d1cd64a77a5edd996014d7d3491;hb=ad9aaa9813f05060ad852cea417f495b072f4783;hp=7bd3d7e85a786c1e3b9961fdae4642979f8c5bd1;hpb=9f26b93f6e237e1abcd9ff6ee7937eed6799dd70;p=dcp.git diff --git a/dcp-init b/dcp-init index 7bd3d7e..fa89bca 100755 --- a/dcp-init +++ b/dcp-init @@ -3,7 +3,7 @@ set -e usage() { - echo "usage: dcp-init [-C key=val] [-d REPODIR] PACKAGE [PATCH...]" + echo "usage: dcp-init [-sh] [-C key=val] [-d REPODIR] PACKAGE [PATCH...]" echo " PATCH ::= [-p LEVEL] [-bB BRANCH] FILE" echo " -b creates a new branch at the current patch" echo " -B creates a new branch at the upstream sources" @@ -20,9 +20,6 @@ getaptsrc() { mkdir "$td/apt-tmp" (cd "$td/apt-tmp"; apt-get source "$1") || false - echo Achtung - sleep 10 - sdir= for f in "$td/apt-tmp"/*; do if [ -d "$f" ]; then @@ -45,7 +42,7 @@ getaptsrc() { } initrepo() { - rungit init -q + rungit init mkdir "$td/control" touch "$td/control/conf" rungit add control @@ -58,6 +55,11 @@ initbase() { mkdir "$td/control/update.d" cat >"$td/control/functions" <