mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-16 13:16:47 +02:00
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:
+1
-2
@@ -9,10 +9,9 @@ release()
|
|||||||
|
|
||||||
reldir="release"
|
reldir="release"
|
||||||
|
|
||||||
while getopts d:m: option; do
|
while getopts m: option; do
|
||||||
[ -z "$OPTARG" ] && err "empty argument not allowed"
|
[ -z "$OPTARG" ] && err "empty argument not allowed"
|
||||||
case "$option" in
|
case "$option" in
|
||||||
d) reldir="$OPTARG" ;;
|
|
||||||
m) relmode="$OPTARG" ;;
|
m) relmode="$OPTARG" ;;
|
||||||
*) err "invalid option '-$option'" ;;
|
*) err "invalid option '-$option'" ;;
|
||||||
esac
|
esac
|
||||||
|
|||||||
Reference in New Issue
Block a user