diff --git a/heavy_script.sh b/heavy_script.sh index a4552ac3..18a08b36 100644 --- a/heavy_script.sh +++ b/heavy_script.sh @@ -1,6 +1,6 @@ #!/bin/bash -# cd to script +# cd to script, this ensures the script can find the source scripts below, even when ran from a seperate directory script=$(readlink -f "$0") script_path=$(dirname "$script") cd "$script_path" || exit