Skip to content
Snippets Groups Projects
Commit 62309a54 authored by Jason Parker's avatar Jason Parker
Browse files

This is a bit safer on some versions of sed.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41026 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 5008225f
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@ cat << END
*/
END
TMP=`grep MENUSELECT_CFLAGS menuselect.makeopts | sed s/MENUSELECT_CFLAGS\=//g | sed s/-D//g`
TMP=`grep MENUSELECT_CFLAGS menuselect.makeopts | sed 's/MENUSELECT_CFLAGS\=//g' | sed 's/-D//g'`
for x in ${TMP}; do
echo "#define ${x} 1"
done
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