kopia lustrzana https://github.com/OpenDroneMap/ODM
fixed error with include while running the script with an absolute path
rodzic
4f53632db1
commit
32970e229a
3
run.pl
3
run.pl
|
@ -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`);
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue