cudaPackages.buildRedist: check stubs output for removeStubsFromRunpathHook
Signed-off-by: Connor Baker <ConnorBaker01@gmail.com>
This commit is contained in:
@@ -157,7 +157,8 @@ checkCudaHasStubsIffIncludeRemoveStubsFromRunpathHook() {
|
||||
|
||||
for outputName in $(getAllOutputNames); do
|
||||
hasStubs=0
|
||||
if find "${!outputName:?}" -mindepth 1 -type d -name stubs -print -quit | grep --silent .; then
|
||||
if [[ $outputName == "stubs" ]] ||
|
||||
find "${!outputName:?}" -mindepth 1 -type d -name stubs -print -quit | grep --silent .; then
|
||||
hasStubs=1
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user