exclude the debian subdirectory from the release archive

This commit is contained in:
lars 2007-03-19 18:35:26 +00:00
parent 66f9e442f2
commit 9a914eb0f4
1 changed files with 1 additions and 1 deletions

View File

@ -11,5 +11,5 @@ TMP_DIR=/tmp/${PREFIX}-${1}
[ -e "$TMP_DIR" ] && rm -rf "$TMP_DIR"
svn export "${PREFIX}-${1}" "$TMP_DIR"
tar czf "packages/${PREFIX}-${1}.tar.gz" -C "$(dirname $TMP_DIR)" --owner=0 --group=0 "$(basename $TMP_DIR)"
tar czf "packages/${PREFIX}-${1}.tar.gz" -C "$(dirname $TMP_DIR)" --exclude debian --owner=0 --group=0 "$(basename $TMP_DIR)"
rm -rf "$TMP_DIR"