From 0f61d97cb8e971308d91cfe305d20f1f33190dc0 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 26 May 2014 12:29:22 -0700 Subject: Remove unnecessary options --- bin/vc11convert.sh | 17 ++--------------- bin/vc12convert.sh | 17 ++--------------- 2 files changed, 4 insertions(+), 30 deletions(-) diff --git a/bin/vc11convert.sh b/bin/vc11convert.sh index b0404b5..7646547 100755 --- a/bin/vc11convert.sh +++ b/bin/vc11convert.sh @@ -2,9 +2,6 @@ # Convert VC10 project files to VC11. # -# -i encoded input VC version, '10.0' by default -# -o encoded output VC version, '11.0' by default -# trap 'exit 1' ERR @@ -14,21 +11,11 @@ function error () } wd=`pwd` -vi=10.0 -vo=11.0 +vi=vc10 +vo=vc11 while [ $# -gt 0 ]; do case $1 in - -i) - shift - vi=$1 - shift - ;; - -o) - shift - vo=$1 - shift - ;; *) error "unknown option: $1" exit 1 diff --git a/bin/vc12convert.sh b/bin/vc12convert.sh index 752ed2a..faa4b0f 100755 --- a/bin/vc12convert.sh +++ b/bin/vc12convert.sh @@ -2,9 +2,6 @@ # Convert VC11 project files to VC12. # -# -i encoded input VC version, '11.0' by default -# -o encoded output VC version, '12.0' by default -# trap 'exit 1' ERR @@ -14,21 +11,11 @@ function error () } wd=`pwd` -vi=11.0 -vo=12.0 +vi=vc11 +vo=vc12 while [ $# -gt 0 ]; do case $1 in - -i) - shift - vi=$1 - shift - ;; - -o) - shift - vo=$1 - shift - ;; *) error "unknown option: $1" exit 1 -- cgit v1.1