# HG changeset patch # User Volker Grabsch # Date 1183454174 -7200 # Node ID afebdcaf1428212fead8b1d0e9a023904a780f0b # Parent b7acc3b44fa06a1517f36f78e10d11231148421b bugfix: sed -> $SED diff -r b7acc3b44fa0 -r afebdcaf1428 build_mingw_cross_env.sh --- a/build_mingw_cross_env.sh Tue Jul 03 11:13:27 2007 +0200 +++ b/build_mingw_cross_env.sh Tue Jul 03 11:16:14 2007 +0200 @@ -138,7 +138,7 @@ *) # display the first comments of this script as help message set - -x - sed -n '/(c)/ Q; s/\(^$\|^#$\|^# \)//p' "$0" | + $SED -n '/(c)/ Q; s/\(^$\|^#$\|^# \)//p' "$0" | more exit 1 ;; @@ -858,7 +858,7 @@ $SED -n 's,.*xmlwrapp-\([0-9][^>]*\)\.tgz.*,\1,p' | head -1` test -n "$VERSION" - sed "s,^VERSION_xmlwrapp=.*,VERSION_xmlwrapp=$VERSION," -i "$0" + $SED "s,^VERSION_xmlwrapp=.*,VERSION_xmlwrapp=$VERSION," -i "$0" ;; --download) @@ -871,7 +871,7 @@ cd "$SOURCE" tar xfvz "$DOWNLOAD/xmlwrapp-$VERSION_xmlwrapp.tgz" cd "xmlwrapp-$VERSION_xmlwrapp" - EXSLT_LIBS=`$TARGET-pkg-config libexslt --libs | sed 's,-L[^ ]*,,g'` + EXSLT_LIBS=`$TARGET-pkg-config libexslt --libs | $SED 's,-L[^ ]*,,g'` $SED 's,.*/usr/include.*,,' -i configure.pl $SED "s,-lxslt -lexslt,$EXSLT_LIBS," -i configure.pl $SED 's,"ranlib",$ENV{"RANLIB"} || "ranlib",g' -i tools/cxxflags @@ -1260,7 +1260,7 @@ cd "$SOURCE" tar xfvz "$DOWNLOAD/SDL-$VERSION_SDL.tar.gz" cd "SDL-$VERSION_SDL" - sed 's,-mwindows,-lwinmm -mwindows,' -i configure + $SED 's,-mwindows,-lwinmm -mwindows,' -i configure ./configure \ --host="$TARGET" \ --disable-shared \