From c901bc3b0c5419f59d275d3686036e6d26c5b5de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20A=2E=20Ortega=20Froysa?= Date: Mon, 7 Nov 2022 20:43:19 +0100 Subject: [PATCH] Ignore configuration files for PHP variables. --- isidore.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/isidore.sh b/isidore.sh index b23f5e2..3bf1bf8 100755 --- a/isidore.sh +++ b/isidore.sh @@ -173,7 +173,7 @@ function build_project() WORKDESK="/tmp/isidore-workdesk" CFG_HEADER_FILE="$WORKDESK/config-header.php" mkdir -p $WORKDESK - for i in $(find site/ -name '*.php') + for i in $(find site/ -name '*.php' -not -name '*.cfg.php') do echo "" > $CFG_HEADER_FILE mkdir -p $WORKDESK/${i%/*}