Skip to content
Snippets Groups Projects
Commit 47c6f701 authored by glatyshe's avatar glatyshe
Browse files

Revert commit 7430

git-svn-id: svn+ssh://svn.cern.ch/reps/lcgsoft/trunk/lcgcmake@7436 4525493e-7705-40b1-a816-d608a930855b
parent 44faf7d5
No related branches found
No related tags found
No related merge requests found
...@@ -71,7 +71,7 @@ for pkg in $(echo $THIS_DEPENDS | tr ' ' '\n');do ...@@ -71,7 +71,7 @@ for pkg in $(echo $THIS_DEPENDS | tr ' ' '\n');do
pkg_name=$(echo $pkg | cut -d- -f 1 | sed -e "s@[_-]@.@g") pkg_name=$(echo $pkg | cut -d- -f 1 | sed -e "s@[_-]@.@g")
pkg_version=$(echo $pkg | cut -d- -f 2-) pkg_version=$(echo $pkg | cut -d- -f 2-)
# try to find home directory for package # try to find home directory for package
for pkg_home_top in $(find $LCGDIR -maxdepth 4 -type d | grep -iw "$pkg_name"); do for pkg_home_top in $(find $LCGDIR -maxdepth 4 -type d | grep -i "$pkg_name"); do
if [ -d "$pkg_home_top/$pkg_version/$PLATFORM" ]; then if [ -d "$pkg_home_top/$pkg_version/$PLATFORM" ]; then
pkg_home="$pkg_home_top/$pkg_version/$PLATFORM" pkg_home="$pkg_home_top/$pkg_version/$PLATFORM"
break break
......
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