diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2011-04-21 13:45:34 +0200 |
---|---|---|
committer | X2go Administrator <x2go-admin@ymir.das-netzwerkteam.de> | 2011-04-21 13:46:41 +0200 |
commit | 0a7bbf6fe96bab18f8acfe2c0b50f1c7c94a5921 (patch) | |
tree | e4d6ae333c911768add1a78102c64a7344c52609 /bin/pdebuild-user-mode-linux | |
parent | 8d68e2a366f3950ef8625e6fec4ac33822c8ce96 (diff) | |
download | buildscripts-0a7bbf6fe96bab18f8acfe2c0b50f1c7c94a5921.tar.gz buildscripts-0a7bbf6fe96bab18f8acfe2c0b50f1c7c94a5921.tar.bz2 buildscripts-0a7bbf6fe96bab18f8acfe2c0b50f1c7c94a5921.zip |
allows the $ARCHITECTURE env var to be passed to pdebuild-uml
Diffstat (limited to 'bin/pdebuild-user-mode-linux')
-rwxr-xr-x | bin/pdebuild-user-mode-linux | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/pdebuild-user-mode-linux b/bin/pdebuild-user-mode-linux index daab151..ea4c0e9 100755 --- a/bin/pdebuild-user-mode-linux +++ b/bin/pdebuild-user-mode-linux @@ -33,8 +33,7 @@ export PBCURRENTCOMMANDLINEOPERATION="pdebuild" PKG_SOURCENAME=$(dpkg-parsechangelog|sed -n 's/^Source: //p') PKG_VERSION=$(dpkg-parsechangelog|sed -n 's/^Version: \(.*:\|\)//p') -ARCHITECTURE=$(dpkg-architecture -qDEB_HOST_ARCH) - +ARCHITECTURE=${ARCHITECTURE-$(dpkg-architecture -qDEB_HOST_ARCH)} if [ "${USE_PDEBUILD_INTERNAL}" = 'yes' ]; then if [ ! readlink -f .. ]; then |