release.sh: remove support for the -d flag

this lets you change the directory for outputted
release files, versus the default "release" directory.

this code is buggy, because it could let you overwrite
a part of xbmk or worse - and checking for such bad
usage would require a lot more code.

knobs are for nobs.

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2025-09-02 03:31:34 +01:00
parent e059614589
commit bec4c63b25
+1 -2
View File
@@ -9,10 +9,9 @@ release()
reldir="release"
while getopts d:m: option; do
while getopts m: option; do
[ -z "$OPTARG" ] && err "empty argument not allowed"
case "$option" in
d) reldir="$OPTARG" ;;
m) relmode="$OPTARG" ;;
*) err "invalid option '-$option'" ;;
esac