File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,8 +24,12 @@ arguments="$@"
2424
2525source ~ /.bashrc
2626
27- chars=` echo $0 | awk -v RS=' /' ' END{print NR-1}' `
28- run_dir=` echo $0 | cut -d' /' -f 1-${chars} `
27+ if [[ $0 == " ./" * ]]; then
28+ run_dir=` pwd`
29+ else
30+ chars=` echo $0 | awk -v RS=' /' ' END{print NR-1}' `
31+ run_dir=` echo $0 | cut -d' /' -f 1-${chars} `
32+ fi
2933
3034os_info=` uname -a`
3135ubuntu=0
@@ -57,7 +61,7 @@ os_vendor=`uname -a | cut -d'.' -f8`
5761file_count=0
5862file_size=10
5963fs_type=" xfs"
60- tools_git=https://github.com/dvalinrh /test_tools
64+ tools_git=https://github.com/redhat-performance /test_tools-wrappers
6165file_list=" "
6266file_size_opt=" "
6367lvm_disk=0
138142# clone the repo.
139143#
140144if [ ! -d " test_tools" ]; then
141- git clone $tools_git
145+ git clone $tools_git test_tools
142146 if [ $? -ne 0 ]; then
143147 echo pulling git $tools_git failed.
144148 exit 1
You can’t perform that action at this time.
0 commit comments