diff --git a/data/pkgconfig.sh b/data/pkgconfig.sh index e25756c..895f3b7 100755 --- a/data/pkgconfig.sh +++ b/data/pkgconfig.sh @@ -67,7 +67,7 @@ while getopts iuP: name; do uninstall=1 ;; P) - PREFIX="$2" + PREFIX="$OPTARG" ;; ?) _usage