diff options
author | dancer <dancer> | 2006-04-01 02:36:00 +0000 |
---|---|---|
committer | dancer <dancer> | 2006-04-01 02:36:00 +0000 |
commit | 2956aa2efc9e8ce7ce0c0da76619e83a5a0f53dc (patch) | |
tree | 3481ca676eb100ef6e19c6858b4df1cf54c4462f /pdebuild | |
parent | 67d689450c65a606c7018bf6e8691d176329a55b (diff) | |
download | pbuilder-2956aa2efc9e8ce7ce0c0da76619e83a5a0f53dc.tar pbuilder-2956aa2efc9e8ce7ce0c0da76619e83a5a0f53dc.tar.gz |
pdebuild --help works without ./debian dir.
Diffstat (limited to 'pdebuild')
-rw-r--r-- | pdebuild | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -17,6 +17,9 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA set -e +export PBCURRENTCOMMANDLINEOPERATION="pdebuild" +. /usr/lib/pbuilder/pdebuild-checkparams + while ! test -d ./debian -o "$(pwd)" = "/" ; do cd ..; done @@ -26,9 +29,6 @@ if test ! -d ./debian; then exit 1 fi; -export PBCURRENTCOMMANDLINEOPERATION="pdebuild" -. /usr/lib/pbuilder/pdebuild-checkparams - PKG_SOURCENAME=$(dpkg-parsechangelog|sed -n 's/^Source: //p') PKG_VERSION=$(dpkg-parsechangelog|sed -n 's/^Version: \(.*:\|\)//p') ARCHITECTURE=$(dpkg-architecture -qDEB_HOST_ARCH) |