mirror of
https://github.com/Relintai/mtg-forge-ios.git
synced 2024-12-21 07:16:52 +01:00
29260c205d
git-svn-id: http://svn.slightlymagic.net/forge/trunk@35700 269b9781-a132-4a9b-9d4e-f004f1b56b58
17 lines
334 B
Bash
Executable File
17 lines
334 B
Bash
Executable File
#!/bin/sh
|
|
|
|
cd `dirname "$0"`
|
|
|
|
if ! zip --version | grep Info-ZIP >/dev/null; then
|
|
echo >&2 `basename "$0"`: error: this only works with Info-ZIP.
|
|
exit -1
|
|
fi
|
|
|
|
if [ -r cardsfolder.zip ]; then
|
|
echo Updating cardsfolder.zip...
|
|
else
|
|
echo Creating cardsfolder.zip...
|
|
fi
|
|
|
|
find . -name '*.txt' -print | zip -1@ouX cardsfolder.zip
|