Skip to content
Snippets Groups Projects
Commit 172021d6 authored by Tamara Vazquez Schroeder's avatar Tamara Vazquez Schroeder
Browse files

Merge branch 'cherry-pick-141422c4 [formerly 1765e50609]-21.0' into '21.0'

Sweeping !10792 from master to 21.0.
fixing get_files script to retrieve locally installed files

See merge request atlas/athena!10901

Former-commit-id: 6bb419d474c6b9cafee7bf28289352266a54a189
parents 2ba59305 f89f92ab
No related merge requests found
File mode changed from 100644 to 100755
#!/bin/sh
#!/bin/bash
#
# get_files [options] [files] [options] [files] ...
#
......@@ -77,7 +77,10 @@ get_one_file() {
path_opt=${DATAPATH//:/ }
elif [ "$opt" == "scripts" ]; then
# Only keep PATH entries located in the installation areas to find scripts.
path_opt=$(echo -e ${PATH//:/'\n'} | fgrep /InstallArea/)
path_opt=""
for binpath in $(echo -e ${CMAKE_PREFIX_PATH//:/ }); do
path_opt="${path_opt}$binpath/bin $binpath/share "
done
elif [ "$opt" == "xmls" ]; then
path_opt=${XMLPATH//:/ }
fi
......
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