Replace hashes with underscores

This commit is contained in:
Antonio J. Delgado 2024-01-19 15:12:08 +02:00
parent 2143237c7f
commit 2aa1549499

View file

@ -50,7 +50,7 @@ do
;;
"--project-codename"|"-p")
shift
PROJECT_CODENAME="${1}"
PROJECT_CODENAME="${1//-/_}"
shift
;;
"--version"|"-v")
@ -134,4 +134,4 @@ do
sed -i "s/__url__/${URL}/g" "${file}"
sed -i "s/__license__/${LICENSE}/g" "${file}"
sed -i "s/__description__/${DESCRIPTION}/g" "${file}"
done <<< "$(find "${destination_path}/" -type f)"
done <<< "$(find "${destination_path}/" -type f)"