make-tar is now a shell script
This commit is contained in:
parent
5d637a9f1e
commit
f5a784693b
1 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
to create the tar archive:
|
#!/bin/sh
|
||||||
|
|
||||||
tar czf ezmlm-web-2.x.tar.gz --owner=0 --group=0 --exclude=.svn ezmlm-web-2.x
|
set -eu
|
||||||
|
|
||||||
|
[ $# -ne 1 ] && echo "Syntax: `basename $0` VERSION" && echo && exit 1
|
||||||
|
[ ! -d "ezmlm-web-${1}" ] && echo "the directory 'ezmlm-web-${1}' does not exist!" && exit 2
|
||||||
|
|
||||||
|
tar czf ezmlm-web-${1}.tar.gz --owner=0 --group=0 --exclude=.svn ezmlm-web-${1}
|
||||||
|
|
Loading…
Reference in a new issue