From fc5cebd9350e6e7580cefeaf557bffdf9a7de071 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Wed, 9 Mar 2016 16:53:13 +0100 Subject: [PATCH] Pmodules/modbuild: - options -V|--version added --- Pmodules/modbuild | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Pmodules/modbuild b/Pmodules/modbuild index bd582ca..108d79c 100755 --- a/Pmodules/modbuild +++ b/Pmodules/modbuild @@ -251,6 +251,13 @@ while (( $# > 0 )); do --prep | --configure | --compile | --install | --all ) target=$1 ;; + --version | -V ) + V=$2 + shift + ;; + --version= ) + V=${1/--version=} + ;; [0-9]* ) V=$1 ;;