ObjFW  Check-in [13e580b7e6]

Overview
Comment:objfw-config: Use . instead of source

. seems to be more portable.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 13e580b7e6b911a76936b53b2b3f3286baedb94addfc722fe811499891afc1ec
User & Date: js on 2019-01-23 20:15:41
Other Links: manifest | tags
Context
2019-01-27
15:39
OFDNSResourceRecord: Conform to OFCopying check-in: ae0c9ca65f user: js tags: trunk
2019-01-23
20:15
objfw-config: Use . instead of source check-in: 13e580b7e6 user: js tags: trunk
2019-01-20
12:34
objfw-config: Clean up output of flags check-in: b85ae3cbc1 user: js tags: trunk
Changes

Modified utils/objfw-config.in from [3eef74228e] to [c9aa276a86].

86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
package_depends_on() {
	if ! test -f "$packagesdir/$1.oc"; then
		echo "No such package: $1" 1>&2
		exit 1
	fi

	set -e
	source "$packagesdir/$1.oc"
	set +e
}

parse_packages() {
	while test x"$1" != "x"; do
		case "$1" in
			--package)







|







86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
package_depends_on() {
	if ! test -f "$packagesdir/$1.oc"; then
		echo "No such package: $1" 1>&2
		exit 1
	fi

	set -e
	. "$packagesdir/$1.oc"
	set +e
}

parse_packages() {
	while test x"$1" != "x"; do
		case "$1" in
			--package)