From 15f236b680cc7543c632e4bce99b39430e733358 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Mon, 3 Mar 2014 01:33:56 +0100 Subject: [PATCH] Fixed obtaining the PREFIX value from the command line --- doc/scripts/docbook.sh | 2 +- doc/scripts/gettext.sh | 2 +- doc/scripts/gtkdoc.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/scripts/docbook.sh b/doc/scripts/docbook.sh index 9e8ad1a..e94749c 100755 --- a/doc/scripts/docbook.sh +++ b/doc/scripts/docbook.sh @@ -118,7 +118,7 @@ while getopts "ciuP:" name; do uninstall=1 ;; P) - PREFIX="$2" + PREFIX="$OPTARG" ;; ?) _usage diff --git a/doc/scripts/gettext.sh b/doc/scripts/gettext.sh index d7d1962..11a8805 100755 --- a/doc/scripts/gettext.sh +++ b/doc/scripts/gettext.sh @@ -119,7 +119,7 @@ while getopts "ciuP:" name; do uninstall=1 ;; P) - PREFIX="$2" + PREFIX="$OPTARG" ;; ?) _usage diff --git a/doc/scripts/gtkdoc.sh b/doc/scripts/gtkdoc.sh index 86de5d4..34ecae5 100755 --- a/doc/scripts/gtkdoc.sh +++ b/doc/scripts/gtkdoc.sh @@ -83,7 +83,7 @@ while getopts "ciuP:" name; do uninstall=1 ;; P) - PREFIX="$2" + PREFIX="$OPTARG" ;; ?) _usage