diff --git a/scripts/compile_acc_module.sh b/scripts/compile_acc_module.sh index 49829be..7513e4a 100755 --- a/scripts/compile_acc_module.sh +++ b/scripts/compile_acc_module.sh @@ -1,6 +1,6 @@ #!/bin/bash -ACC_DIR=$(realpath $(dirname $0)/../acc) -MODULE_DIR=$(realpath $1) +ACC_DIR=$(readlink -f $(dirname $0)/../acc) +MODULE_DIR=$(readlink -f $1) echo "-- Compiling project in "${MODULE_DIR} for source in ${MODULE_DIR}/*.sas ${MODULE_DIR}/*.sps ${MODULE_DIR}/*.sdh