diff options
author | dancer <dancer> | 2002-03-13 01:33:52 +0000 |
---|---|---|
committer | dancer <dancer> | 2002-03-13 01:33:52 +0000 |
commit | a5d9910227de32aabe04c28a1b88159c856b3b54 (patch) | |
tree | a4fcf3479e394f797a63bebed48b912b54888546 /pbuilder-satisfydepends | |
parent | 7ac6b42b7262d9c7467c953cbf488d9b2e663e99 (diff) | |
download | pbuilder-a5d9910227de32aabe04c28a1b88159c856b3b54.tar pbuilder-a5d9910227de32aabe04c28a1b88159c856b3b54.tar.gz |
fixing minor regexp, and other things.
Diffstat (limited to 'pbuilder-satisfydepends')
-rw-r--r-- | pbuilder-satisfydepends | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pbuilder-satisfydepends b/pbuilder-satisfydepends index bcd2d83..ade49f5 100644 --- a/pbuilder-satisfydepends +++ b/pbuilder-satisfydepends @@ -79,7 +79,7 @@ BEGIN{source=1} /^[^ ]*:/ {p=0} tolower($0) ~ /^'"${BD_REGEXP}"':/ {p=1} {if(p && source) {print $0}}' | \ - sed 's/^[^:]*: //' | \ + sed 's/^[^: ]*: //' | \ tr " " "/" | \ awk 'BEGIN{RS=","} {print}'); do echo " -> Considering "$(echo $INSTALLPKGMULTI | tr "/" " " | awk '{print $0}' ) @@ -137,7 +137,7 @@ tolower($0) ~ /^'"${BD_REGEXP}"':/ {p=1} /^[^ ]*:/{p=0} tolower($0) ~ /^'"${BC_REGEXP}"':/ {p=1} {if(p && source) {print $0}}' | \ - sed 's/^[^:]*: //' | \ + sed 's/^[^: ]*: //' | \ tr " " "/" | \ awk 'BEGIN{RS=","} {print}'); do CURRENTREALPKGNAME=$(echo "$INSTALLPKG" | sed -e 's/^[/]*//' -e 's/[[/(].*//') @@ -178,6 +178,7 @@ function print_help () { # print out help message cat <<EOF pbuilder-satisfydepends -- satisfy dependencies +Copyright 2002 Junichi Uekawa <daner@debian.org> --help: give help --control: specify control file (debian/control, *.dsc) @@ -186,6 +187,7 @@ pbuilder-satisfydepends -- satisfy dependencies --binary-arch: include binary-arch only --echo: echo mode, do nothing. (--force-version required for most operation) --force-version: skip version check. + EOF } |