summaryrefslogtreecommitdiff
path: root/pm
diff options
context:
space:
mode:
authorVictor Lowther <victor.lowther@gmail.com>2008-10-05 09:09:39 -0500
committerVictor Lowther <victor.lowther@gmail.com>2008-10-05 09:09:39 -0500
commit806df338c05a972cb53de1c372e829f9f61fedd3 (patch)
tree7fe2dd5973887276b0b18d9384f8a694e4f1b9ef /pm
parentf7d7d72439101083925fccd7825fd711e790c4e0 (diff)
Fix stupid thinko in has_parameter
Diffstat (limited to 'pm')
-rw-r--r--pm/functions.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/pm/functions.in b/pm/functions.in
index 2af9429..110282e 100644
--- a/pm/functions.in
+++ b/pm/functions.in
@@ -235,7 +235,7 @@ get_parameters() {
# check to see if a single parameter exists
has_parameter()
{
- for p in $PARAMETERS; do
+ for p in $(get_parameters); do
[ "$p" = "$1" ] && return 0
done
return 1