diff --git a/init.sh b/init.sh index 7e098e7..5990909 100755 --- a/init.sh +++ b/init.sh @@ -54,6 +54,9 @@ git remote remove origin git rm --cached init.sh git rm -r skel-test +# replace the README with a stub +echo "# $name" >| README.md + # escape HTML special characters (&, <, and >), but also sed special characters (& again, \, and /) htmlname=$(echo -n "$name" | sed 's/&/\&/g; s//\>/g; s:[\\/&]:\\&:g') sed -i "s/PROJECT NAME/$htmlname/" ui/src/main_window.ui