diff options
| author | Leah Rowe <leah@libreboot.org> | 2023-12-27 17:26:37 +0000 | 
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2023-12-27 17:26:37 +0000 | 
| commit | bc87b5f67e49c8e51e58a68e0651fd6ed176bb7d (patch) | |
| tree | a99535cb2dd62746d263e17d5f25aeebb42f0224 /include | |
| parent | 0c1d08d8b1c5757ca10487fb3256741718009ac1 (diff) | |
lbmk scripts: general code cleanup
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include')
| -rwxr-xr-x | include/err.sh | 1 | ||||
| -rwxr-xr-x | include/option.sh | 4 | 
2 files changed, 2 insertions, 3 deletions
diff --git a/include/err.sh b/include/err.sh index 3c596b17..cab81d02 100755 --- a/include/err.sh +++ b/include/err.sh @@ -53,7 +53,6 @@ check_project()  		p_="x_ printf \"%s\\n\" \"\$$p\" > $p"  		eval "x$p_ || $p_"  	done -  	export LOCALVERSION="-${projectname}-${version%%-*}"  } diff --git a/include/option.sh b/include/option.sh index 31411423..8367d447 100755 --- a/include/option.sh +++ b/include/option.sh @@ -46,9 +46,9 @@ scan_config()  		set ${line} 1>/dev/null 2>/dev/null || :  		if [ "${1%:}" = "depend" ]; then  			depend="${depend} ${2}" -			continue +		else +			eval "${1%:}=\"${2}\""  		fi -		eval "${1%:}=\"${2}\""  	done << EOF  	$(eval "awk '${awkstr}' \"${revfile}\"")  EOF  | 
