buiildFHSEnv: check if multiPkgs is empty

Fixes #6486
This commit is contained in:
Nikolay Amiantov 2015-02-23 13:52:33 +03:00
parent 6b71d166aa
commit b002fdd89f

View file

@ -142,7 +142,7 @@ let
cp -rsf ${staticUsrProfileTarget}/lib/32/* lib/
# copy content of multiPaths (32bit libs)
cp -rsf ${staticUsrProfileMulti}/lib/* lib/
[ -d ${staticUsrProfileMulti}/lib ] && cp -rsf ${staticUsrProfileMulti}/lib/* lib/
# copy content of targetPaths (64bit libs)
cp -rsf ${staticUsrProfileTarget}/lib/* lib64/