We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0aaf010 commit 8d97d2cCopy full SHA for 8d97d2c
configure
@@ -115,6 +115,8 @@ default_osversion=$(detect_osversion)
115
if [ -f "config.mk" ]; then
116
while IFS='=' read -r key value; do
117
value=${value//[@]/} # Remove placeholder characters
118
+ value="${value#"${value%%[![:space:]]*}"}" # Remove leading whitespace
119
+ value="${value%"${value##*[![:space:]]}"}" # Remove trailing whitespace
120
case $key in
121
XLEN\ ?*) default_xlen=${value//\?=/} ;;
122
TOOLDIR\ ?*) default_tooldir=${value//\?=/} ;;
0 commit comments