]> git.wh0rd.org - tt-rss.git/blobdiff - utils/regen_config_checks.sh
body: disable overflow
[tt-rss.git] / utils / regen_config_checks.sh
index 9e7737858b4cfc4dd2017691abeb9b2e72235034..e81d3673e8fb7e1476494951a579672d3be67c13 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
 
@@ -10,7 +10,7 @@ echo ");" >> $DESTINATION
 
 echo -n "\$requred_defines = array( " >> $DESTINATION
 
-grep define\( config.php-dist | awk -F\' '{ print "*" $2 "*," }' | xargs echo -n | grep -v DB_PORT | sed -e s/,$// -e s/*/\'/g >> $DESTINATION
+grep define\( config.php-dist | awk -F\' '{ print "*" $2 "*," }' | grep -v DB_PORT | xargs echo -n | sed -e s/,$// -e s/*/\'/g >> $DESTINATION
 
 echo "); ?>" >> $DESTINATION