blob: e996446b9cf9106e6ff778a22666bfbe7aae2a11 (
plain)
- #!/bin/sh
- set -e
- for lang in $@; do
- if [ -f $lang.tgz ]; then
- echo "output file $lang.tgz already exists - exiting"
- exit 1
- fi
- done
- for lang in $@; do
- # find * -type f | grep -v cache | grep "$lang" | sed "s!$lang/.*!$lang/!" | uniq | sort
- # find * -type f | grep -v cache | grep "$lang" | tar -czf $lang.tgz --mode 0644
- tar -czf $lang.tgz --mode 0644 `find * -type f | grep -v cache | grep "$lang"`
- done
|