summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/vc11convert.sh17
-rwxr-xr-xbin/vc12convert.sh17
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 <ver> encoded input VC version, '10.0' by default
-# -o <ver> 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 <ver> encoded input VC version, '11.0' by default
-# -o <ver> 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