Update generate-app-headers.sh

This commit is contained in:
CanbiZ 2025-01-10 11:44:15 +01:00 committed by GitHub
parent 2ff536f26a
commit 87b442ef9e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -9,7 +9,7 @@ current_date=$(date +"%m-%d-%Y")
echo "### Generated on $current_date"
echo "##################################################"
echo
} >> "$output_file" # Header wird in die Datei geschrieben
} >> "$output_file"
# Find only regular .sh files in ./ct, sort them alphabetically
find ./ct -type f -name "*.sh" | sort | while read -r script; do
@ -24,7 +24,7 @@ find ./ct -type f -name "*.sh" | sort | while read -r script; do
echo "APP=$app_name"
echo "$figlet_output"
echo
} >> "$output_file" # Figlet output wird in die Datei geschrieben
} >> "$output_file"
else
echo "No APP name found in $script, skipping."
fi