This is a bit safer on some versions of sed.
authorJason Parker <jparker@digium.com>
Fri, 25 Aug 2006 00:52:19 +0000 (00:52 +0000)
committerJason Parker <jparker@digium.com>
Fri, 25 Aug 2006 00:52:19 +0000 (00:52 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41026 65c4cc65-6c06-0410-ace0-fbb531ad65f3

build_tools/make_buildopts_h

index cca1799..9970c0c 100755 (executable)
@@ -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