Permalink
Browse files

Allow CONTENT_KEEP to work better as a boolean

  • Loading branch information...
1 parent fb79bd7 commit 1b1eb357f3ffcda8a5adc6c87be6226980245674 @buckett buckett committed May 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 prebuild.sh
View
@@ -10,7 +10,7 @@ if [ -d $CATALINA_HOME -a -f $CATALINA_PID ] ; then
# Current user needs access to the database
# -s No boxing -N No column names
- if [ ! ${CONTENT_KEEP} ]; then
+ if [ "${CONTENT_KEEP}" -ne "true" ]; then
echo Cleaning database
db=${DB_NAME}
( echo "SET foreign_key_checks = 0;"

0 comments on commit 1b1eb35

Please sign in to comment.