mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-30 10:26:58 +01:00
put dictionary in place if none there
This commit is contained in:
parent
2f618616df
commit
8cecbd45c4
1 changed files with 8 additions and 0 deletions
|
@ -30,6 +30,14 @@ SIZES=(
|
||||||
cd $(dirname $0)
|
cd $(dirname $0)
|
||||||
EXES=$(ls -c ../obj_${PLAT}_${DBG}/xwords4_*.exe)
|
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
|
for SIZE in ${SIZES[*]}; do
|
||||||
WIDTH=${SIZE%x*}
|
WIDTH=${SIZE%x*}
|
||||||
HEIGHT=${SIZE#*x}
|
HEIGHT=${SIZE#*x}
|
||||||
|
|
Loading…
Reference in a new issue