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

BUG: fix parameter expansion in otbenv

parent 315e4ee2
No related branches found
No related tags found
3 merge requests!648Ci rcjob,!621Release 7.0 (master),!571BUG: fix parameter expansion in otbenv
Pipeline #2393 passed
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment