From b26d04ae44735baadfd6e12a907c5bb1f249bd21 Mon Sep 17 00:00:00 2001 From: Patrik Gornicz Date: Thu, 28 Aug 2008 16:15:32 -0400 Subject: [PATCH] fixed relative config path, needs to be run from withen run_physics directory now --- src/Makefile | 2 +- src/config/reader.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 ***** -- 2.10.2