Fix a a bug in commands directory creation.

This commit is contained in:
Manuel Canales Esparcia 2006-04-14 10:56:04 +00:00
parent 34d4860f6b
commit bfc07d6259

View file

@ -590,9 +590,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"