From 5cc2d613beade3ebaeb305000597f09a1cbe1161 Mon Sep 17 00:00:00 2001 From: Miikka Vaisala Date: Mon, 23 Sep 2019 15:35:09 +0800 Subject: [PATCH] Changed realpath to readlink -f for better combatibility in different systems. --- scripts/compile_acc_module.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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