config.sh.in.orig (942B)
1 <<<<<<< HEAD 2 version="0.10" 3 ======= 4 #!/bin/sh 5 >>>>>>> 726802c (Add Release note pages to solstice) 6 7 solstice_version="0.10" 8 9 solstice_dir="Solstice-${solstice_version}-GNU-Linux64" 10 solstice_arch="downloads/${solstice_dir}.tar.gz" 11 solstice_readme="${solstice_dir}/share/doc/solstice/README.md" 12 solstice_solver_readme="${solstice_dir}/share/doc/solstice-solver/README.md" 13 solstice_anim_readme="${solstice_dir}/share/doc/solstice-anim/README.md" 14 solstice_pp_readme="${solstice_dir}/share/doc/solstice-pp/README.md" 15 16 ######################################################################## 17 # Helper function 18 ######################################################################## 19 release_notes() # readme_file 20 { 21 cd .. 22 23 # Project name 24 sed -n '/^# /{p;q;}' "${OLDPWD}/$1" 25 26 # Extract and post-process the release notes 27 sed -n '/^## Release notes/,/^## License/p' "${OLDPWD}/$1" \ 28 | sed -e '1d' -e '$d' -e 's/^#//' 29 30 cd "${OLDPWD}" 31 }