diff options
author | Victor Lowther <victor.lowther@gmail.com> | 2008-10-05 09:09:39 -0500 |
---|---|---|
committer | Victor Lowther <victor.lowther@gmail.com> | 2008-10-05 09:09:39 -0500 |
commit | 806df338c05a972cb53de1c372e829f9f61fedd3 (patch) | |
tree | 7fe2dd5973887276b0b18d9384f8a694e4f1b9ef /pm | |
parent | f7d7d72439101083925fccd7825fd711e790c4e0 (diff) |
Fix stupid thinko in has_parameter
Diffstat (limited to 'pm')
-rw-r--r-- | pm/functions.in | 2 |
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 |