libk  Diff

Differences From Artifact [0a6c6a9052]:

To Artifact [d610091946]:


4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
check() {
	var=$1
	test "${!var}" == "" || return 0
	say "we were not able to detect a default value for the configuration variable \$$var. please set this variable to $2 and try again."
	exit 1
}

#test "$to" = "" && {
#	say "\$to environment variable must be set to your build directory - are you running this script by hand? run ./build.sh in the root directory instead!"
#	exit 2
#}

reqpack() {
	if ! has "$1"; then
		say "to $2 for libk, install the $1 package and try again"
		exit 3
	fi
}








<
<
<
<
<







4
5
6
7
8
9
10





11
12
13
14
15
16
17
check() {
	var=$1
	test "${!var}" == "" || return 0
	say "we were not able to detect a default value for the configuration variable \$$var. please set this variable to $2 and try again."
	exit 1
}






reqpack() {
	if ! has "$1"; then
		say "to $2 for libk, install the $1 package and try again"
		exit 3
	fi
}