Commit 14d48219 authored by Vincent Pelletier's avatar Vincent Pelletier

Business templates contains their own directory. Don't create them from inside...

Business templates contains their own directory. Don't create them from inside this directory, but at the immediate parent level.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5500 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3a3bcaa0
...@@ -34,10 +34,10 @@ cd "$LOCALDIR" || cleanup ...@@ -34,10 +34,10 @@ cd "$LOCALDIR" || cleanup
cvs -Qz3 "-d$CVSROOT" checkout "$MODULE" || cleanup cvs -Qz3 "-d$CVSROOT" checkout "$MODULE" || cleanup
# Create one archive for each Business Template # Create one archive for each Business Template
cd "$LOCALDIR/$MODULE"
for BT5 in `ls "$LOCALDIR/$MODULE"`; do for BT5 in `ls "$LOCALDIR/$MODULE"`; do
if [ "$BT5" != "CVS" -a -d "$LOCALDIR/$MODULE/$BT5" ]; then if [ "$BT5" != "CVS" -a -d "$LOCALDIR/$MODULE/$BT5" ]; then
cd "$LOCALDIR/$MODULE/$BT5" || cleanup tar -zcf "$LOCALDIR/$BT5.bt5" --exclude CVS --exclude .cvsignore "$BT5" || cleanup
tar -zcf "$LOCALDIR/$BT5.bt5" --exclude CVS --exclude .cvsignore . || cleanup
fi fi
done done
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment