From b227ac51871223fea28e257f40f039a40c64de29 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Wed, 23 Apr 2014 17:34:24 +0200 Subject: [PATCH] Fixed obtaining the PREFIX from the command line --- doc/scripts/subst.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/scripts/subst.sh b/doc/scripts/subst.sh index c87596c..2d790a3 100755 --- a/doc/scripts/subst.sh +++ b/doc/scripts/subst.sh @@ -79,7 +79,7 @@ while getopts "ciuP:" name; do uninstall=1 ;; P) - PREFIX="$2" + PREFIX="$OPTARG" ;; ?) _usage