diff options
author | dancer <dancer> | 2002-10-30 08:42:07 +0000 |
---|---|---|
committer | dancer <dancer> | 2002-10-30 08:42:07 +0000 |
commit | dc85401fcc7bfe69a192bc4d8b61aa5f37055f1e (patch) | |
tree | a1e819912d41ff5e767480736ed51c62f930d995 | |
parent | d2253141addb9872477a6925e7079b16d32e54f5 (diff) | |
download | pbuilder-dc85401fcc7bfe69a192bc4d8b61aa5f37055f1e.tar pbuilder-dc85401fcc7bfe69a192bc4d8b61aa5f37055f1e.tar.gz |
+ * debuild-pbuilder: a better handling of directory, copied from pdebuild.
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | debian/changelog | 5 | ||||
-rw-r--r-- | debuild-pbuilder | 10 |
3 files changed, 16 insertions, 1 deletions
@@ -1,5 +1,7 @@ 2002-10-30 Junichi Uekawa <dancer@debian.org> + * debuild-pbuilder: a better handling of directory, copied from pdebuild. + * pbuilder-satisfydepends: make CHROOTEXEC invocation to make it less ambiguous, for versiondeps. diff --git a/debian/changelog b/debian/changelog index c9091c5..e1e4118 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,11 @@ pbuilder (0.48) UNRELEASED; urgency=low * Not a released version. + * improved handling of directory in debuild-pbuilder. + * Version-deps parser changed slightly. + * unset LOGNAME. - -- Junichi Uekawa <dancer@debian.org> Tue, 29 Oct 2002 22:59:12 +0900 + -- Junichi Uekawa <dancer@debian.org> Wed, 30 Oct 2002 17:40:02 +0900 pbuilder (0.47) unstable; urgency=low diff --git a/debuild-pbuilder b/debuild-pbuilder index 9abf748..1efdb6b 100644 --- a/debuild-pbuilder +++ b/debuild-pbuilder @@ -1,5 +1,15 @@ #!/bin/bash set -e + +while ! test -d ./debian -o "$(pwd)" = "/" ; do + cd ..; +done + +if test ! -d ./debian; then + echo "Cannot find ./debian dir" + exit 1 +fi; + . /usr/lib/pbuilder/pbuilder-loadconfig "$PBUILDERROOTCMD" /usr/lib/pbuilder/pbuilder-satisfydepends /usr/bin/debuild "$@" |