diff options
author | dancer <dancer> | 2001-09-01 09:20:34 +0000 |
---|---|---|
committer | dancer <dancer> | 2001-09-01 09:20:34 +0000 |
commit | 62a5c427a695ad0cecc3f57337764a558b585041 (patch) | |
tree | f61984c9b032e9e88f938e3b434c1c7681ea6dca | |
parent | 2e19a60c37c0b4775f6599bd9671a9cb3833cbef (diff) | |
download | pbuilder-62a5c427a695ad0cecc3f57337764a558b585041.tar pbuilder-62a5c427a695ad0cecc3f57337764a558b585041.tar.gz |
fixed a typo. added the $()
-rwxr-xr-x | pbuilder-buildpackage | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pbuilder-buildpackage b/pbuilder-buildpackage index f190fc3..24a537c 100755 --- a/pbuilder-buildpackage +++ b/pbuilder-buildpackage @@ -18,9 +18,9 @@ function checkbuilddep_internal () { # fall back to this function if checkbuilddeps is not available. local ARCH=$(dpkg --print-architecture) echo " -> Attempting to parse the build-deps by myself" - for INSTALLPKG in grep "^Build-Depends\(-Indep\|\): " "$BUILDPLACE/"tmp/buildd/*/debian/control | \ + for INSTALLPKG in $(grep "^Build-Depends\(-Indep\|\): " "$BUILDPLACE/"tmp/buildd/*/debian/control | \ sed 's/^[^:]*: \(.*\)$/\1/' | \ - awk 'BEGIN{RS=","} {print}'; do + awk 'BEGIN{RS=","} {print}'); do echo " -> Considering $INSTALLPKG" if echo "$INSTALLPKG" | grep '[' > /dev/null ; then # this package has arch-deps. @@ -36,9 +36,9 @@ function checkbuilddep_internal () { echo " -> Installing $INSTALLPKG" $CHROOTEXEC usr/bin/apt-get -y install $(echo "$INSTALLPKG" | awk '{print $1}') done; - for INSTALLPKG in grep "^Build-Conflicts\(-Indep\|\): " "$BUILDPLACE/"tmp/buildd/*/debian/control | \ + for INSTALLPKG in $(grep "^Build-Conflicts\(-Indep\|\): " "$BUILDPLACE/"tmp/buildd/*/debian/control | \ sed 's/^[^:]*: \(.*\)$/\1/' | \ - awk 'BEGIN{RS=","} {print}'; do + awk 'BEGIN{RS=","} {print}'); do echo " -> Considering $INSTALLPKG" if echo "$INSTALLPKG" | grep '[' > /dev/null ; then # this package has arch-deps. |