From: Patrik Gornicz Date: Thu, 28 Aug 2008 20:15:32 +0000 (-0400) Subject: fixed relative config path, needs to be run from withen run_physics directory now X-Git-Tag: physics-premerge~123 X-Git-Url: http://gitweb.pgornicz.com/gitweb.cgi?a=commitdiff_plain;h=b26d04ae44735baadfd6e12a907c5bb1f249bd21;p=libbear.git fixed relative config path, needs to be run from withen run_physics directory now --- diff --git a/src/Makefile b/src/Makefile index c9f8c86..13c255e 100644 --- a/src/Makefile +++ b/src/Makefile @@ -139,7 +139,7 @@ tar: ../physics.tar.bz2 .PHONY: run run: all - ${TARGET} + cd ..; ./run_physics .PHONY: gdb gdb: all diff --git a/src/config/reader.cpp b/src/config/reader.cpp index 2d1d677..19f7d33 100644 --- a/src/config/reader.cpp +++ b/src/config/reader.cpp @@ -35,7 +35,7 @@ bool extractLine(const string& str, string* name, string* value); /// ***** Private Variables ***** -char* configDir = "../configs/"; +char* configDir = "configs/"; /// ***** Public Methods *****