Haskell/Shell build scripts handle multiple paths in GF_LIB_PATH (pick first)

Not implemented for Batch
This commit is contained in:
John J. Camilleri
2018-11-26 11:02:40 +01:00
parent ea56a524a1
commit 28bc19f09c
3 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ done
# Try to determine install location
if [ -z "$dest" ]; then
dest="$GF_LIB_PATH"
dest=$(echo "$GF_LIB_PATH" | sed 's/:.*$//')
fi
if [ -z "$dest" ] && [ -f "../gf-core/DATA_DIR" ]; then
dest=$(cat ../gf-core/DATA_DIR)