mirror of
https://github.com/Relintai/mtg-forge-ios.git
synced 2024-12-25 21:17:12 +01:00
17 lines
334 B
Bash
17 lines
334 B
Bash
|
#!/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
|