Fix a a bug in commands directory creation.

This commit is contained in:
Manuel Canales Esparcia 2006-04-14 10:57:04 +00:00
parent 7636ee44a0
commit 3e3e28b675

View file

@ -599,9 +599,9 @@ extract_commands() { #
VERSION=`grep "ENTITY version " $BOOK/general.ent | sed 's@<!ENTITY version "@@;s@">@@'`
# Start clean
if [ -d commands ]; then
rm -rf commands
mkdir -v commands
if [ -d ${PROGNAME}-commands ]; then
rm -rf ${PROGNAME}-commands
mkdir -v ${PROGNAME}-commands
fi
echo -n "Extracting commands for"