put dictionary in place if none there

This commit is contained in:
ehouse 2008-09-29 05:06:24 +00:00
parent 2f618616df
commit 8cecbd45c4

View file

@ -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}