diff --git a/pw-uninstalled.sh b/pw-uninstalled.sh index b345d1f1c..a462dcc24 100755 --- a/pw-uninstalled.sh +++ b/pw-uninstalled.sh @@ -4,11 +4,14 @@ set -e SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" -while getopts ":b:" opt; do +while getopts ":b:v:" opt; do case ${opt} in b) BUILDDIR=${OPTARG} ;; + v) + VERSION=${OPTARG} + ;; \?) echo "Invalid option: -${OPTARG}" exit 1