]> git.wh0rd.org - tt-rss.git/blobdiff - utils/regen_config_checks.sh
fix sanity_config script, regenerate check file
[tt-rss.git] / utils / regen_config_checks.sh
index 78f2dbfbab619d9e38cce58a575194dc3bdfdd96..8f753c8238b065c9aa70b40a8f1cda7126f899b1 100755 (executable)
@@ -10,7 +10,7 @@ echo ");" >> $DESTINATION
 
 echo -n "\$requred_defines = array( " >> $DESTINATION
 
-grep define\( config.php-dist | awk -F\' '{ print "*" $2 "*," }' | xargs echo -n | 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