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

Merge branch 'pkg_tweaks' into 'develop'

BUG: fix parameter expansion in otbenv

See merge request orfeotoolbox/otb!571
parents 9da55638 fe3015eb
No related branches found
No related tags found
No related merge requests found
......@@ -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