Changed realpath to readlink -f for better combatibility in different systems.
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
ACC_DIR=$(realpath $(dirname $0)/../acc)
|
ACC_DIR=$(readlink -f $(dirname $0)/../acc)
|
||||||
MODULE_DIR=$(realpath $1)
|
MODULE_DIR=$(readlink -f $1)
|
||||||
|
|
||||||
echo "-- Compiling project in "${MODULE_DIR}
|
echo "-- Compiling project in "${MODULE_DIR}
|
||||||
for source in ${MODULE_DIR}/*.sas ${MODULE_DIR}/*.sps ${MODULE_DIR}/*.sdh
|
for source in ${MODULE_DIR}/*.sas ${MODULE_DIR}/*.sps ${MODULE_DIR}/*.sdh
|
||||||
|
Reference in New Issue
Block a user