Skip to content
Snippets Groups Projects
Commit 141422c4 authored by Mark Hodgkinson's avatar Mark Hodgkinson
Browse files

Merge branch 'GetFilesFix' into 'master'

fixing get_files script to retrieve locally installed files

See merge request atlas/athena!10792

Former-commit-id: 1765e50609b8d1a1f61a12fcfa6fcb9aa10eab4b
parents c2478e15 e19475cd
No related branches found
No related tags found
No related merge requests found
#!/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