Commit fe3015eb authored by Guillaume Pasero's avatar Guillaume Pasero

BUG: fix parameter expansion in otbenv

parent 315e4ee2
Pipeline #2393 passed with stages
in 61 minutes and 23 seconds
......@@ -24,7 +24,7 @@ cat_path()
if [ $# -eq 1 ]; then echo "$1"; exit 0; fi
cur="$1"
shift 1
next="$(cat_path $@)"
next=$(cat_path "$@")
if [ -z "$cur" ]; then
echo "$next"
elif [ -z "$next" ]; then
......
......@@ -25,7 +25,7 @@ cat_path()
if [ $# -eq 1 ]; then echo "$1"; exit 0; fi
cur="$1"
shift 1
next="$(cat_path $@)"
next=$(cat_path "$@")
if [ -z "$cur" ]; then
echo "$next"
elif [ -z "$next" ]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment