diff options
author | dancer <dancer> | 2001-12-20 06:30:46 +0000 |
---|---|---|
committer | dancer <dancer> | 2001-12-20 06:30:46 +0000 |
commit | 9e5efaecfa60df354e359970d96e0d373ac4a0c5 (patch) | |
tree | e5b7c5153e1c0d329871786c43974523e28a356a | |
parent | 898bef573df3e2e7ffb9bb756f7652180e32937e (diff) | |
download | pbuilder-9e5efaecfa60df354e359970d96e0d373ac4a0c5.tar pbuilder-9e5efaecfa60df354e359970d96e0d373ac4a0c5.tar.gz |
added feature.
Can work with ../debian.
-rw-r--r-- | debian/changelog | 7 | ||||
-rw-r--r-- | pdebuild | 8 |
2 files changed, 14 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog index 38bd314..aaae76c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +pbuilder (0.15) unstable; urgency=low + + * Added a little more heuristics to pdebuild, so that it is nicer to use... + It will search for ../debian directory, in addition to ./debian + + -- Junichi Uekawa <dancer@debian.org> Thu, 20 Dec 2001 15:26:41 +0900 + pbuilder (0.14) unstable; urgency=low * Removed the test build-depends etc. from the debian/control. @@ -1,7 +1,13 @@ #! /bin/bash set -e -test -d ./debian +if ! test -d ./debian ; then + if test -d ../debian; then + cd ..; + else + echo "This is (probably) not a Debian source package directory." + fi +fi; . /usr/lib/pbuilder/pbuilder-checkparams $BUILDSOURCEROOTCMD dpkg-buildpackage -S -us -uc || true $PBUILDERROOTCMD pbuilder build "$@" ../$(dpkg-parsechangelog|sed -n 's/^Source: //p')_$(dpkg-parsechangelog|sed -n 's/^Version: \(.*:\|\)//p').dsc |