]> git.sesse.net Git - vlc/commitdiff
* toolbox: fuck OS X!
authorSam Hocevar <sam@videolan.org>
Sun, 29 Jun 2003 20:15:35 +0000 (20:15 +0000)
committerSam Hocevar <sam@videolan.org>
Sun, 29 Jun 2003 20:15:35 +0000 (20:15 +0000)
toolbox

diff --git a/toolbox b/toolbox
index 81c96b22fd64c524882cb5ef3d17098d10d7f754..6089d4b675344313451ec5274025de242f2b4f81 100755 (executable)
--- a/toolbox
+++ b/toolbox
@@ -1,7 +1,7 @@
 #! /bin/sh
 
 ##  toolbox for the VLC media player
-##  $Id: toolbox,v 1.32 2003/06/29 19:04:14 sam Exp $
+##  $Id: toolbox,v 1.33 2003/06/29 20:15:35 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 '/^srcdir/{s/^srcdir *= *//p;q}' < Makefile`"
+  srcdir="`sed -ne 's/^srcdir *= *//p' < Makefile`"
 
   #  The evil ^M
   M="`printf '\r'`"
@@ -367,7 +367,7 @@ if test "${action}" = "includes"
 then
   #set -x
 
-  srcdir="`sed -ne '/^srcdir/{s/^srcdir *= *//p;q}' < Makefile`"
+  srcdir="`sed -ne 's/^srcdir *= *//p' < Makefile`"
   LIBVLC_HEADERS=`getfiles HEADERS_include`
   BUILTINS=`sed -ne 's/.*builtins *= *" *\([^"]*\)".*/\1/p' vlc-config`