mirror of
https://code.videolan.org/videolan/vlc
synced 2024-08-06 16:44:19 +02:00
* toolbox: syntax fix for OS X's retarded sed.
This commit is contained in:
parent
647adedf7d
commit
75c3003cf0
6
toolbox
6
toolbox
@ -1,7 +1,7 @@
|
||||
#! /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`
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user