From 821c064f3e6d624152b49f2297b750bdc53f3a5f Mon Sep 17 00:00:00 2001 From: Marius Kintel Date: Mon, 16 Jul 2012 22:12:57 -0400 Subject: sed parameter bug for build_glew(). Fixes #145 diff --git a/scripts/macosx-build-dependencies.sh b/scripts/macosx-build-dependencies.sh index 26420e0..0ce9908 100755 --- a/scripts/macosx-build-dependencies.sh +++ b/scripts/macosx-build-dependencies.sh @@ -232,7 +232,7 @@ build_glew() cd glew-$version mkdir -p $DEPLOYDIR/lib/pkgconfig # To avoid running strip on a fat archive as this is not supported by strip - sed -i bak -e "s/\$(STRIP) -x lib\/\$(LIB.STATIC)//" Makefile + sed -ibak -e "s/\$(STRIP) -x lib\/\$(LIB.STATIC)//" Makefile if $OPTION_32BIT; then GLEW_EXTRA_FLAGS="-arch i386" fi -- cgit v0.10.1