Commit 75c3003c authored by Sam Hocevar's avatar Sam Hocevar

* toolbox: syntax fix for OS X's retarded sed.

parent 647adedf
#! /bin/sh
## toolbox for the VLC media player
## $Id: toolbox,v 1.31 2003/06/28 21:03:26 hartman Exp $
## $Id: toolbox,v 1.32 2003/06/29 19:04:14 sam Exp $
##
## Authors: Samuel Hocevar <sam@zoy.org>
......@@ -116,7 +116,7 @@ if test "${action}" = "vc"
then
echo "generating Visual Studio files..."
srcdir="`sed -ne 's/^srcdir *= *//p;D;q' < Makefile`"
srcdir="`sed -ne '/^srcdir/{s/^srcdir *= *//p;q}' < Makefile`"
# The evil ^M
M="`printf '\r'`"
......@@ -367,7 +367,7 @@ if test "${action}" = "includes"
then
#set -x
srcdir="`sed -ne 's/^srcdir *= *//p;D;q' < Makefile`"
srcdir="`sed -ne '/^srcdir/{s/^srcdir *= *//p;q}' < Makefile`"
LIBVLC_HEADERS=`getfiles HEADERS_include`
BUILTINS=`sed -ne 's/.*builtins *= *" *\([^"]*\)".*/\1/p' vlc-config`
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment