]> git.wh0rd.org - tt-rss.git/blobdiff - utils/regen_config_checks.sh
sanity config: fix typo
[tt-rss.git] / utils / regen_config_checks.sh
index 8f753c8238b065c9aa70b40a8f1cda7126f899b1..5ddbef091dd0daa5dca70421e2cf908e67fb2637 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-DESTINATION="sanity_config.php"
+DESTINATION="include/sanity_config.php"
 
 echo "<?php # This file has been generated at: " `date` > $DESTINATION
 
@@ -8,7 +8,7 @@ echo -n "define('GENERATED_CONFIG_CHECK', " >> $DESTINATION
 grep CONFIG_VERSION config.php-dist | awk -F ' |)' '{ print $2 }' | xargs echo -n >> $DESTINATION
 echo ");" >> $DESTINATION
 
-echo -n "\$requred_defines = array( " >> $DESTINATION
+echo -n "\$required_defines = array( " >> $DESTINATION
 
 grep define\( config.php-dist | awk -F\' '{ print "*" $2 "*," }' | grep -v DB_PORT | xargs echo -n | sed -e s/,$// -e s/*/\'/g >> $DESTINATION