From 32970e229af15062543a70ecfa75c82a2ae10963 Mon Sep 17 00:00:00 2001 From: Daniel Date: Fri, 19 Nov 2010 06:20:09 -0800 Subject: [PATCH] fixed error with include while running the script with an absolute path --- run.pl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/run.pl b/run.pl index 40873c2f..ac7dd7fa 100644 --- a/run.pl +++ b/run.pl @@ -10,8 +10,7 @@ use POSIX qw(strftime); ## the defs chomp($CURRENT_DIR = `pwd`); -chomp($BIN_PATH_REL = $CURRENT_DIR."/".`dirname $0`); -chomp($BIN_PATH = `readlink -f $BIN_PATH_REL`); +chomp($BIN_PATH = `dirname $0`); chomp($OS = `uname -o`); chomp($CORES = `ls -d /sys/devices/system/cpu/cpu[[:digit:]]* | wc -w`);