From c2a8eddfcbfa81681fe52d194fa196987a78a060 Mon Sep 17 00:00:00 2001 From: ehouse Date: Mon, 28 Sep 2009 04:40:33 +0000 Subject: [PATCH] Cleanup script; up versions to b4 (in anticipation :-) --- xwords4/wince/rc_incs.h | 2 +- xwords4/wince/scripts/makezip.sh | 27 +++++++++------------------ 2 files changed, 10 insertions(+), 19 deletions(-) diff --git a/xwords4/wince/rc_incs.h b/xwords4/wince/rc_incs.h index 15c042559..366c01649 100644 --- a/xwords4/wince/rc_incs.h +++ b/xwords4/wince/rc_incs.h @@ -22,7 +22,7 @@ CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP | exf2 #endif -#define ABOUT_VERSION "4.4 b3" +#define ABOUT_VERSION "4.4 b4" #define DLL_VERS_RESOURCE \ ID_DLLVERS_RES DLLV MOVEABLE PURE \ diff --git a/xwords4/wince/scripts/makezip.sh b/xwords4/wince/scripts/makezip.sh index 49b9bbb5c..496662583 100755 --- a/xwords4/wince/scripts/makezip.sh +++ b/xwords4/wince/scripts/makezip.sh @@ -12,38 +12,29 @@ function usage() { exit 0 } -while :; do +while [ -n "$1" ]; do + [ -z "$2" ] && usage case "$1" in --exe) - [ -z $2 ] && usage - EXE=$2 - shift 2 + EXE="$2" ;; --name) - [ -z $2 ] && usage - NAME=$2 - shift 2 + NAME="$2" ;; --dict) - [ -z $2 ] && usage - DICT=$2 - shift 2 + DICT="$2" ;; --out) - [ -z $2 ] && usage - OUTFILE=$2 - shift 2 - ;; - "") - break + OUTFILE="$2" ;; *) usage esac + shift 2 done [ -z "$EXE" ] && usage -[ -z "$OUTFILE" ] && OUTFILE=${NAME%.exe}.zip +[ -z "$OUTFILE" ] && OUTFILE=${EXE%.exe}.zip mkdir -p $TMPDIR @@ -59,7 +50,7 @@ fi cat > $README <