Differences From Artifact [0a6c6a9052]:
- Executable file global/common.sh — part of check-in [6346f60bb6] at 2020-01-23 07:10:00 on branch install — Make install.sh actually try to install. Just a first pass at the problem for now, but it seems to work fine finally with some quick testing. (user: glowpelt, size: 1784) [annotate] [blame] [check-ins using]
To Artifact [d610091946]:
- File global/common.sh — part of check-in [50b709b0d3] at 2020-01-24 21:18:35 on branch install — Remove the $to check entirely and have more output in install.sh Sourcing a file doesn't need it to be executable, so global/common.sh can have it's executable bit removed and the $to check in it entirely removed. Adds some `say`s to install.sh to let you know it did something and help in case of error. (user: glowpelt, size: 1587) [annotate] [blame] [check-ins using] [more...]
4 4 check() { 5 5 var=$1 6 6 test "${!var}" == "" || return 0 7 7 say "we were not able to detect a default value for the configuration variable \$$var. please set this variable to $2 and try again." 8 8 exit 1 9 9 } 10 10 11 -#test "$to" = "" && { 12 -# say "\$to environment variable must be set to your build directory - are you running this script by hand? run [1m./build.sh[m in the root directory instead!" 13 -# exit 2 14 -#} 15 - 16 11 reqpack() { 17 12 if ! has "$1"; then 18 13 say "to $2 for [1mlibk[m, install the [1m$1[m package and try again" 19 14 exit 3 20 15 fi 21 16 } 22 17