mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-27 09:58:45 +01:00
fix to work with new pocketpc-cab, which strips an extra layer of \
from dos pathnames.
This commit is contained in:
parent
cdf418b904
commit
9cdb9ce45b
4 changed files with 6 additions and 6 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -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`;
|
||||
|
|
Loading…
Reference in a new issue