fixed error with include while running the script with an absolute path

pull/1/head
Daniel 2010-11-19 06:20:09 -08:00
rodzic 4f53632db1
commit 32970e229a
1 zmienionych plików z 1 dodań i 2 usunięć

3
run.pl
Wyświetl plik

@ -10,8 +10,7 @@ use POSIX qw(strftime);
## the defs ## the defs
chomp($CURRENT_DIR = `pwd`); chomp($CURRENT_DIR = `pwd`);
chomp($BIN_PATH_REL = $CURRENT_DIR."/".`dirname $0`); chomp($BIN_PATH = `dirname $0`);
chomp($BIN_PATH = `readlink -f $BIN_PATH_REL`);
chomp($OS = `uname -o`); chomp($OS = `uname -o`);
chomp($CORES = `ls -d /sys/devices/system/cpu/cpu[[:digit:]]* | wc -w`); chomp($CORES = `ls -d /sys/devices/system/cpu/cpu[[:digit:]]* | wc -w`);