Commit c6654aca authored by Vincent Pelletier's avatar Vincent Pelletier

Don't move bt5list before it's generated.

Maek bt5list group & others readable.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5497 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9566f866
...@@ -46,11 +46,12 @@ cd "$LOCALDIR" || cleanup ...@@ -46,11 +46,12 @@ cd "$LOCALDIR" || cleanup
cvs -Qz3 "-d$CVSROOT" checkout "$GENBTLIST" || cleanup cvs -Qz3 "-d$CVSROOT" checkout "$GENBTLIST" || cleanup
# Publish the repository # Publish the repository
mv -f bt5list "$LOCALDIR/"*.bt5 "$BT5DIR" || cleanup mv -f "$LOCALDIR/"*.bt5 "$BT5DIR"
# Generate the index from repository directory, in case there are BT5 manually added there # Generate the index from repository directory, in case there are BT5 manually added there
cd "$BT5DIR" || cleanup cd "$BT5DIR" || cleanup
python "$LOCALDIR/$GENBTLIST" > /dev/null /usr/bin/python "$LOCALDIR/$GENBTLIST" > /dev/null
chmod go+r bt5list
# Clean up # Clean up
rm -rf $LOCALDIR rm -rf $LOCALDIR
......
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