mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-03 08:38:18 +00:00
qb: Don't use sed.
This commit is contained in:
parent
d540e87c3d
commit
e13837fc18
@ -513,6 +513,12 @@ fi
|
|||||||
|
|
||||||
# Creates config.mk and config.h.
|
# Creates config.mk and config.h.
|
||||||
add_define_make GLOBAL_CONFIG_DIR "$GLOBAL_CONFIG_DIR"
|
add_define_make GLOBAL_CONFIG_DIR "$GLOBAL_CONFIG_DIR"
|
||||||
VARS=$(eval set | grep ^HAVE_ | sed 's/=.*//' | sed 's/^HAVE_//')
|
set -- $(set | grep ^HAVE_)
|
||||||
|
while [ $# -gt 0 ]; do
|
||||||
|
tmpvar="${1%=*}"
|
||||||
|
shift 1
|
||||||
|
var="${tmpvar#HAVE_}"
|
||||||
|
VARS="${VARS} $var"
|
||||||
|
done
|
||||||
create_config_make config.mk $(printf %s "$VARS")
|
create_config_make config.mk $(printf %s "$VARS")
|
||||||
create_config_header config.h $(printf %s "$VARS")
|
create_config_header config.h $(printf %s "$VARS")
|
||||||
|
Loading…
Reference in New Issue
Block a user