Skip to content
Snippets Groups Projects
Commit 0f9f937a authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

BUG: wrong -f option for BSD readlink

parent bb9f8ee9
Branches
Tags
No related merge requests found
......@@ -233,7 +233,7 @@ GEOTIFF_CSV=$OUT_DIR/share/epsg_csv
if [ -z "\$OTB_APPLICATION_PATH" ] || [ "\$OTB_APPLICATION_PATH" = "" ]; then
OTB_APPLICATION_PATH=$OUT_DIR/lib/otb/applications
else
OTB_APPLICATION_PATH=\$(readlink -f "\$OTB_APPLICATION_PATH")
OTB_APPLICATION_PATH=\$(cd "\$OTB_APPLICATION_PATH" 2>/dev/null && pwd -P)
if ! [ "\$OTB_APPLICATION_PATH" = "$OUT_DIR/lib/otb/applications" ]; then
OTB_APPLICATION_PATH=$OUT_DIR/lib/otb/applications:\$OTB_APPLICATION_PATH
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment