fix to work with new pocketpc-cab, which strips an extra layer of \

from dos pathnames.
This commit is contained in:
ehouse 2009-10-20 04:07:16 +00:00
parent cdf418b904
commit 9cdb9ce45b
4 changed files with 6 additions and 6 deletions

View file

@ -36,7 +36,7 @@ sub main() {
my $tmpfile = "/tmp/$userName";
`cp $path $tmpfile`;
print FILE "$tmpfile ";
print FILE '%CE1%\\Crosswords', "\n";
print FILE '%CE1%\\\\Crosswords', "\n";
close FILE;

View file

@ -44,10 +44,10 @@ sub main() {
my $tmpfile = "/tmp/$userName";
`cp $path $tmpfile`;
print FILE "$tmpfile ";
print FILE '%CE1%\\Crosswords', "\n";
print FILE '%CE1%\\\\Crosswords', "\n";
print FILE "../dawg/English/BasEnglish2to8.xwd ";
print FILE '%CE1%\\Crosswords', "\n";
print FILE '%CE1%\\\\Crosswords', "\n";
# print FILE "$ENV{'CEOPT_ROOT'}/opt/mingw32ce/arm-wince-mingw32ce/bin/mingwm10.dll ";
# print FILE '%CE2%\\mingwm10.dll', "\n";

View file

@ -34,9 +34,9 @@ SIZES=(
)
cd $(dirname $0)
EXES=$(ls -c ../obj_${PLAT}_${DBG}/xwords4_*.exe)
EXES=$(ls -c ../obj_${PLAT}_${DBG}/built/xwords4_*.exe)
if ls ../obj_${PLAT}_${DBG}/*.xwd >/dev/null 2>&1; then
if ls ../obj_${PLAT}_${DBG}/built/*.xwd >/dev/null 2>&1; then
: # nothing to do
elif [ -s "$XWDICT" ]; then
cp $XWDICT ../obj_${PLAT}_${DBG}

View file

@ -28,7 +28,7 @@ while ( my $path = shift @ARGV ) {
open FILE, "> $fname";
print FILE "$path ";
print FILE '%CE1%\\Crosswords', "\n";
print FILE '%CE1%\\\\Crosswords', "\n";
close FILE;
my $cabname = `basename $path`;