From b4f235adc0a61a74b753db4704af0c02229eb856 Mon Sep 17 00:00:00 2001 From: "Guillermo S. Romero" Date: Fri, 25 Sep 2009 01:59:43 +0000 Subject: Shell script exit values should be non-negative. Exact error with dash as sh "exit: 12: Illegal number: -1". The rest are just changes to whitespace and polishing. --- extern/Eigen2/eigen-update.sh | 26 +++++++++++++------------- source/blender/blenfont/Makefile | 2 +- source/blender/blenlib/intern/BLI_bfile.c | 2 +- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/extern/Eigen2/eigen-update.sh b/extern/Eigen2/eigen-update.sh index 26155ed428b..926a36ef120 100755 --- a/extern/Eigen2/eigen-update.sh +++ b/extern/Eigen2/eigen-update.sh @@ -1,28 +1,28 @@ #!/bin/sh -echo "*** EIGEN2-SVN Update utility" -echo "*** This gets a new eigen2-svn tree and adapts it to blenders build structure" +echo "*** EIGEN2-HG Update utility" +echo "*** This gets a new eigen2-hg tree and adapts it to blenders build structure" echo "*** Warning! This script will wipe all the header file" -echo "*** Please run again with --i-really-know-what-im-doing ..." if [ "x$1" = "x--i-really-know-what-im-doing" ] ; then - echo proceeding... + echo Proceeding as requested by command line ... else - exit -1 + echo "*** Please run again with --i-really-know-what-im-doing ..." + exit 1 fi # get the latest revision from repository. hg clone http://bitbucket.org/eigen/eigen2 if [ -d eigen2 ] then - cd eigen2 - # put here the version you want to use - hg up 2.0.6 - rm -f `find Eigen/ -type f -name "CMakeLists.txt"` - cp -r Eigen .. - cd .. - rm -rf eigen2 + cd eigen2 + # put here the version you want to use + hg up 2.0.6 + rm -f `find Eigen/ -type f -name "CMakeLists.txt"` + cp -r Eigen .. + cd .. + rm -rf eigen2 else - echo "Did you install Mercurial?" + echo "Did you install Mercurial?" fi diff --git a/source/blender/blenfont/Makefile b/source/blender/blenfont/Makefile index be62c87cbf4..43eda027855 100644 --- a/source/blender/blenfont/Makefile +++ b/source/blender/blenfont/Makefile @@ -30,5 +30,5 @@ DIRS = intern include nan_subdirs.mk ifeq ($(INTERNATIONAL), true) - CPPFLAGS += -DINTERNATIONAL + CPPFLAGS += -DINTERNATIONAL endif diff --git a/source/blender/blenlib/intern/BLI_bfile.c b/source/blender/blenlib/intern/BLI_bfile.c index 4789df593ef..a7ce1df5712 100644 --- a/source/blender/blenlib/intern/BLI_bfile.c +++ b/source/blender/blenlib/intern/BLI_bfile.c @@ -30,7 +30,7 @@ #include #else #include -#include "BLI_winstuff.h" + #include "BLI_winstuff.h" #endif #include -- cgit v1.2.3