summaryrefslogtreecommitdiff
path: root/mk/flavor
diff options
context:
space:
mode:
authorrillig <rillig>2007-11-22 09:56:22 +0000
committerrillig <rillig>2007-11-22 09:56:22 +0000
commit71a6df9559542b286d19075370d35142f5888047 (patch)
treea001a095e96fc85ba21c07c928e02086bb1438bd /mk/flavor
parent5166d75c8710322e9adc2e52156522e1fad5b78a (diff)
downloadpkgsrc-71a6df9559542b286d19075370d35142f5888047.tar.gz
Replaced the usage message with a standard one.
"This is a" was redundant and has been removed.
Diffstat (limited to 'mk/flavor')
-rwxr-xr-xmk/flavor/pkg/list-dependencies16
1 files changed, 7 insertions, 9 deletions
diff --git a/mk/flavor/pkg/list-dependencies b/mk/flavor/pkg/list-dependencies
index 749ec8c1dda..dd57934b6db 100755
--- a/mk/flavor/pkg/list-dependencies
+++ b/mk/flavor/pkg/list-dependencies
@@ -18,26 +18,25 @@
#
# ENVIRONMENT
# AWK
-# This is the path to the awk interpreter.
+# Path to the awk interpreter.
#
# PKGSRCDIR
-# This is the root of the pkgsrc tree.
+# Root directory of the pkgsrc tree.
#
# SED
-# This is the path to the sed command.
+# Path to the sed command.
#
# The following variables are used by the reduce-depends.awk script:
#
# PKG_ADMIN
-# This is the path to the pkg_admin command.
+# Path to the pkg_admin command.
#
# PWD_CMD
-# This is the path to the pwd command.
+# Path to the pwd command.
#
######################################################################
: ${ECHO:=echo}
-: ${TEST:=test}
: ${CAT:=cat}
set -e
@@ -56,9 +55,8 @@ print_entries() {
done
}
-if ${TEST} $# != 3;
-then
- ${ECHO} "list-dependencies must be called with 3 arguments" 1>&2
+if [ $# != 3 ]; then
+ echo "usage: list-dependencies bootstrap_depends build_depends depends" 1>&2
exit 1
fi