Changeset 667 for trunk/Modules/Export/client_cz_export.sh
- Timestamp:
- Dec 24, 2013, 3:09:14 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Export/client_cz_export.sh
r647 r667 1 1 #!/bin/bash 2 2 3 EXPORTID= 373 EXPORTID=$1 4 4 5 5 #wine like patch: 6 6 MPQAPP="Z:\\a\\www\\wowpreklad\\Modules\\Export\\mpq.exe" 7 TMP="Z:\\a\\www\\wowpreklad\\tmp\\ mpq\\"7 TMP="Z:\\a\\www\\wowpreklad\\tmp\\Export\\${EXPORTID}\\" 8 8 MPQFILENAME="patch-5.MPQ" 9 9 MPQARCH="${TMP}${MPQFILENAME}" 10 10 #linux patch: 11 EXPORTLINUX="/a/www/wowpreklad/Modules/Export/files/" 12 MPQARCHLINUX="${EXPORTLINUX}${MPQFILENAME}" 13 ICOLINUX="${EXPORTLINUX}WoW.ico" 14 NSILINUX="${EXPORTLINUX}Instalace_CzechWoW.nsi" 15 LUAFILENAME="WowLua.exe" 16 VERSION=$( php /a/www/wowpreklad/Modules/Export/cmdmpqexport.php version=$1 2> /dev/null) 17 LUALINUX="${EXPORTLINUX}${VERSION}/${LUAFILENAME}" 18 ADDONLINUX="${EXPORTLINUX}${VERSION}/CzWoW" 19 11 20 TMPDIR="/a/www/wowpreklad/tmp/" 12 WORKDIR="${TMPDIR} mpq"21 WORKDIR="${TMPDIR}Export/${EXPORTID}" 13 22 14 23 echo "===================================" 15 24 echo "Workdir: $WORKDIR" 16 25 echo "===================================" 26 mkdir $WORKDIR 17 27 cd $WORKDIR 28 18 29 echo "===================================" 19 30 echo "Export files from database:" … … 38 49 mkdir dbc -p 39 50 mkdir lua -p 40 cp ${TMPDIR}Export/${EXPORTID}/lua/* lua/ -R 41 cp ${TMPDIR}Export/${EXPORTID}/dbc/* dbc/ -R 42 cp ${TMPDIR}Export/${EXPORTID}/CzWoW/* CzWoW / -R 51 cp $MPQARCHLINUX $MPQFILENAME 52 cp $NSILINUX Instalace_CzechWoW.nsi 53 cp $ICOLINUX WoW.ico 54 cp $LUALINUX WowLua.exe 55 cp ${$ADDONLINUX}* CzWoW / -R 56 57 #cp ${TMPDIR}Export/${EXPORTID}/lua/* lua/ -R 58 #cp ${TMPDIR}Export/${EXPORTID}/dbc/* dbc/ -R 59 #cp ${TMPDIR}Export/${EXPORTID}/CzWoW/* CzWoW / -R 43 60 echo "hotovo" 44 61 … … 48 65 for f in dbc/*.dbc 49 66 do 50 wine cmd /C "$MPQAPP patch-5.MPQDBFilesClient\\$(basename ${f}) ${f}";67 wine cmd /C "$MPQAPP ${MPQFILENAME} DBFilesClient\\$(basename ${f}) ${f}"; 51 68 done 52 69 … … 54 71 do 55 72 56 wine cmd /C "$MPQAPP patch-5.MPQInterface\\FrameXML\\$(basename ${f}) ${f}";73 wine cmd /C "$MPQAPP ${MPQFILENAME} Interface\\FrameXML\\$(basename ${f}) ${f}"; 57 74 done 58 75 for f in lua/Glue*.lua 59 76 do 60 wine cmd /C "$MPQAPP patch-5.MPQInterface\\GlueXML\\$(basename ${f}) ${f}";77 wine cmd /C "$MPQAPP ${MPQFILENAME} Interface\\GlueXML\\$(basename ${f}) ${f}"; 61 78 done 62 79 echo "==================================="
Note:
See TracChangeset
for help on using the changeset viewer.