From b1178d30e3b8cfacd91b4a93ba023c468b3280f1 Mon Sep 17 00:00:00 2001 From: historic_bruno Date: Mon, 4 Feb 2013 00:42:53 +0000 Subject: [PATCH] Adds missing native eol-style property This was SVN commit r13151. --- build/workspaces/clean-workspaces.sh | 94 ++++++++++++++-------------- 1 file changed, 47 insertions(+), 47 deletions(-) diff --git a/build/workspaces/clean-workspaces.sh b/build/workspaces/clean-workspaces.sh index 5f3b538144..c99af06ea6 100755 --- a/build/workspaces/clean-workspaces.sh +++ b/build/workspaces/clean-workspaces.sh @@ -1,47 +1,47 @@ -#!/bin/sh - -# Some of our makefiles depend on GNU make, so we set some sane defaults if MAKE -# is not set. -case "`uname -s`" in - "FreeBSD" | "OpenBSD" ) - MAKE=${MAKE:="gmake"} - ;; - * ) - MAKE=${MAKE:="make"} - ;; -esac - -# (We don't attempt to clean up every last file here - output in -# binaries/system/ will still be there, etc. This is mostly just -# to quickly fix problems in the bundled dependencies.) - -cd "$(dirname $0)" -# Now in build/workspaces/ (where we assume this script resides) - -# We don't want to clean bundled libs on OS X -if [ "`uname -s`" != "Darwin" ]; then - echo "Cleaning bundled third-party dependencies..." - - (cd ../../libraries/source/fcollada/src && rm -rf ./output) - (cd ../../libraries/source/spidermonkey && rm -f .already-built) - (cd ../../libraries/source/spidermonkey && rm -rf ./js-1.8.5) - (cd ../../libraries/source/nvtt/src && rm -rf ./build) -fi - -(cd ../premake/premake4/build/gmake.bsd && ${MAKE} clean) -(cd ../premake/premake4/build/gmake.macosx && ${MAKE} clean) -(cd ../premake/premake4/build/gmake.unix && ${MAKE} clean) - -echo "Cleaning build output..." - -# Remove workspaces/gcc if present -rm -rf ./gcc -# Remove workspaces/codeblocks if present -rm -rf ./codeblocks -# Remove workspaces/xcode3 if present -rm -rf ./xcode3 -# Remove workspaces/xcode4 if present -rm -rf ./xcode4 - -echo -echo "Done. Try running update-workspaces.sh again now." +#!/bin/sh + +# Some of our makefiles depend on GNU make, so we set some sane defaults if MAKE +# is not set. +case "`uname -s`" in + "FreeBSD" | "OpenBSD" ) + MAKE=${MAKE:="gmake"} + ;; + * ) + MAKE=${MAKE:="make"} + ;; +esac + +# (We don't attempt to clean up every last file here - output in +# binaries/system/ will still be there, etc. This is mostly just +# to quickly fix problems in the bundled dependencies.) + +cd "$(dirname $0)" +# Now in build/workspaces/ (where we assume this script resides) + +# We don't want to clean bundled libs on OS X +if [ "`uname -s`" != "Darwin" ]; then + echo "Cleaning bundled third-party dependencies..." + + (cd ../../libraries/source/fcollada/src && rm -rf ./output) + (cd ../../libraries/source/spidermonkey && rm -f .already-built) + (cd ../../libraries/source/spidermonkey && rm -rf ./js-1.8.5) + (cd ../../libraries/source/nvtt/src && rm -rf ./build) +fi + +(cd ../premake/premake4/build/gmake.bsd && ${MAKE} clean) +(cd ../premake/premake4/build/gmake.macosx && ${MAKE} clean) +(cd ../premake/premake4/build/gmake.unix && ${MAKE} clean) + +echo "Cleaning build output..." + +# Remove workspaces/gcc if present +rm -rf ./gcc +# Remove workspaces/codeblocks if present +rm -rf ./codeblocks +# Remove workspaces/xcode3 if present +rm -rf ./xcode3 +# Remove workspaces/xcode4 if present +rm -rf ./xcode4 + +echo +echo "Done. Try running update-workspaces.sh again now."