summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-07-18 21:38:58 +0200
committerDaniel Baumann <daniel@debian.org>2012-07-18 21:55:08 +0200
commitc07a76f649f5bde7bea218cb27996dd46757a56c (patch)
treeea138d2f33b93e925f8bbbfca5efe1b4ba4162c8 /scripts
parent36d4a6672f64a60e17f473050255ab77a9dae830 (diff)
downloadvyos-live-build-c07a76f649f5bde7bea218cb27996dd46757a56c.tar.gz
vyos-live-build-c07a76f649f5bde7bea218cb27996dd46757a56c.zip
Decrufting version flag.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build/lb3
-rwxr-xr-xscripts/build/lb_clean3
-rwxr-xr-xscripts/build/lb_config9
3 files changed, 6 insertions, 9 deletions
diff --git a/scripts/build/lb b/scripts/build/lb
index 714347132..2f2320308 100755
--- a/scripts/build/lb
+++ b/scripts/build/lb
@@ -35,7 +35,8 @@ case "${1}" in
;;
-v|--version)
- Version
+ echo "${VERSION}"
+ exit 0
;;
*)
diff --git a/scripts/build/lb_clean b/scripts/build/lb_clean
index 417ce4f04..7f5a07bc4 100755
--- a/scripts/build/lb_clean
+++ b/scripts/build/lb_clean
@@ -148,7 +148,8 @@ do
;;
-v|--version)
- Version
+ echo "${VERSION}"
+ exit 0
;;
*)
diff --git a/scripts/build/lb_config b/scripts/build/lb_config
index b185c03ef..f9bd370c2 100755
--- a/scripts/build/lb_config
+++ b/scripts/build/lb_config
@@ -384,11 +384,6 @@ Local_arguments ()
shift 2
;;
- -v|--version)
- Version
- shift
- ;;
-
# config/bootstrap
-a|--architectures)
LB_ARCHITECTURES="${2}"
@@ -869,8 +864,8 @@ Local_arguments ()
;;
-v|--version)
- Version
- shift
+ echo "${VERSION}"
+ exit 0
;;
--)