Fix a a bug in commands directory creation.
This commit is contained in:
parent
34d4860f6b
commit
bfc07d6259
1 changed files with 3 additions and 3 deletions
|
@ -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"
|
||||
|
||||
|
|
Reference in a new issue