From 8cecbd45c43157ace0d0c11abdd4b9e7c374e2f4 Mon Sep 17 00:00:00 2001 From: ehouse Date: Mon, 29 Sep 2008 05:06:24 +0000 Subject: [PATCH] put dictionary in place if none there --- xwords4/wince/scripts/testsizes.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/xwords4/wince/scripts/testsizes.sh b/xwords4/wince/scripts/testsizes.sh index db589e09f..d52fa54f8 100755 --- a/xwords4/wince/scripts/testsizes.sh +++ b/xwords4/wince/scripts/testsizes.sh @@ -30,6 +30,14 @@ SIZES=( cd $(dirname $0) EXES=$(ls -c ../obj_${PLAT}_${DBG}/xwords4_*.exe) +if ls ../obj_${PLAT}_${DBG}/*.xwd >/dev/null 2>&1; then + : # nothing to do +elif [ -s "$XWDICT" ]; then + cp $XWDICT ../obj_${PLAT}_${DBG} +else + cp ../../dawg/English/BasEnglish2to8.xwd ../obj_${PLAT}_${DBG} +fi + for SIZE in ${SIZES[*]}; do WIDTH=${SIZE%x*} HEIGHT=${SIZE#*x}