From bfcd194a09f95a7de695662c6399572a9f6f9682 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20A=2E=20Ortega=20Froysa?= Date: Tue, 8 Nov 2022 15:12:29 +0100 Subject: [PATCH] Copy other files into output. --- isidore.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/isidore.sh b/isidore.sh index 3bf1bf8..a0b42a3 100755 --- a/isidore.sh +++ b/isidore.sh @@ -187,6 +187,12 @@ function build_project() php $WORKDESK/$i > $OUT_FILE done + for i in $(find site/ -type f -not -name '*.php') + do + mkdir -p ./output/${i%/*} + cp $i ./output/$i + done + rm -r $WORKDESK }