diff options
| author | Leah Rowe <leah@libreboot.org> | 2025-05-18 11:12:20 +0100 | 
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2025-05-18 11:12:20 +0100 | 
| commit | 7ec9ee42283f3722a5c3bfd0050dd32b00a32973 (patch) | |
| tree | 30c722c3dd075bfdf9ae9b02b864364d13c317fb /include/inject.sh | |
| parent | b48eb161e49d0e40c50c9885072fdb00204230c3 (diff) | |
inject.sh: shorten the nukemode variable name
just call it "nuke". this is what tells whether to remove
vendor files from an archive.
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/inject.sh')
| -rw-r--r-- | include/inject.sh | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/include/inject.sh b/include/inject.sh index d4d20568..74f688a1 100644 --- a/include/inject.sh +++ b/include/inject.sh @@ -21,7 +21,7 @@ inject()  	set +u +e  	[ $# -lt 1 ] && err "No options specified" -	eval "`setvars "" nukemode new_mac xchanged`" +	eval "`setvars "" nuke new_mac xchanged`"  	archive="$1";  	new_mac="xx:xx:xx:xx:xx:xx" @@ -29,7 +29,7 @@ inject()  	[ $# -gt 1 ] && case "$2" in  	nuke)  		new_mac="" -		nukemode="nuke" ;; +		nuke="nuke" ;;  	setmac)  		[ $# -gt 2 ] && new_mac="$3" && \  		    [ -z "$new_mac" ] && err "Empty MAC address specified" ;; @@ -83,7 +83,7 @@ check_target()  patch_release()  { -	[ "$nukemode" = "nuke" ] || x_ ./mk download "$board" +	[ "$nuke" = "nuke" ] || x_ ./mk download "$board"  	has_hashes="n"  	tmpromdir="$tmpromdel/bin/$board" | 
