diff options
author | dancer <dancer> | 2001-09-01 09:21:48 +0000 |
---|---|---|
committer | dancer <dancer> | 2001-09-01 09:21:48 +0000 |
commit | a1fd69fa1b6e458bbc0da8e659136539dbcef77b (patch) | |
tree | 2d878806c634b3bf56776c25a63e607775a51e07 | |
parent | 62a5c427a695ad0cecc3f57337764a558b585041 (diff) | |
download | pbuilder-a1fd69fa1b6e458bbc0da8e659136539dbcef77b.tar pbuilder-a1fd69fa1b6e458bbc0da8e659136539dbcef77b.tar.gz |
fixed a typo. \[ not [
-rwxr-xr-x | pbuilder-buildpackage | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pbuilder-buildpackage b/pbuilder-buildpackage index 24a537c..5f60ff6 100755 --- a/pbuilder-buildpackage +++ b/pbuilder-buildpackage @@ -22,7 +22,7 @@ function checkbuilddep_internal () { sed 's/^[^:]*: \(.*\)$/\1/' | \ awk 'BEGIN{RS=","} {print}'); do echo " -> Considering $INSTALLPKG" - if echo "$INSTALLPKG" | grep '[' > /dev/null ; then + if echo "$INSTALLPKG" | grep '\[' > /dev/null ; then # this package has arch-deps. if echo "$INSTALLPKG" | sed 's/.*\(\[.*\]\)/\1/' | grep "[[ ]!$ARCH[] ]" > /dev/null; then # don't install this on this arch @@ -40,7 +40,7 @@ function checkbuilddep_internal () { sed 's/^[^:]*: \(.*\)$/\1/' | \ awk 'BEGIN{RS=","} {print}'); do echo " -> Considering $INSTALLPKG" - if echo "$INSTALLPKG" | grep '[' > /dev/null ; then + if echo "$INSTALLPKG" | grep '\[' > /dev/null ; then # this package has arch-deps. if echo "$INSTALLPKG" | sed 's/.*\(\[.*\]\)/\1/' | grep "[[ ]!$ARCH[] ]" > /dev/null; then # don't install this on this arch |