Autogenerate available configs
This commit is contained in:
@ -1,19 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VALID_CONFIGS=(
|
VALID_CONFIGS=($(ls configs/ | grep ".cmake" | sed 's/config_//;s/.cmake//'))
|
||||||
"comred"
|
|
||||||
"peter"
|
|
||||||
"feedc0de"
|
|
||||||
"mick"
|
|
||||||
"greyhash"
|
|
||||||
"nofeatures"
|
|
||||||
"allfeatures"
|
|
||||||
"seatbot"
|
|
||||||
"gernot"
|
|
||||||
"comred_new"
|
|
||||||
"aveexy"
|
|
||||||
"testdevice"
|
|
||||||
)
|
|
||||||
|
|
||||||
print_usage() {
|
print_usage() {
|
||||||
echo "usage: ./switchconf.sh ${VALID_CONFIGS[@]}"
|
echo "usage: ./switchconf.sh ${VALID_CONFIGS[@]}"
|
||||||
|
Reference in New Issue
Block a user