Skip to content
Snippets Groups Projects
Commit 12c1aef7 authored by Gregory Nutt's avatar Gregory Nutt
Browse files

Fix some funny 'cut' results

parent eeba5788
No related branches found
No related tags found
No related merge requests found
......@@ -5686,4 +5686,6 @@
From Carvalho de Assis. (2013-9-30).
* net/net_sendfile: The high performance sendfile logic is
now functional. From Max Holtzberg (2013-9-30).
* tools/define.sh: 'cut' long because as it once did. Script
adapted to observed behavior (2013-9-30).
......@@ -170,9 +170,13 @@ unset response
for vardef in $varlist; do
varname=`echo $vardef | cut -d'=' -f1`
varvalue=`echo $vardef | cut -d'=' -f2`
if [ "X$varname" != "X$vardef" ]; then
varvalue=`echo $vardef | cut -d'=' -f2`
else
unset varvalue
fi
# Handle the output depending on if there is a value for the variable or not
# Handle the output depending on if there is a value for the variable or not
if [ -z "$varvalue" ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment