Only print "no patches needed" if there were no patches.
This commit is contained in:
parent
9e7faff6c9
commit
29ce69f3ed
@ -1044,7 +1044,11 @@ def do_patch(self):
|
|||||||
except spack.multimethod.NoSuchMethodError:
|
except spack.multimethod.NoSuchMethodError:
|
||||||
# We are running a multimethod without a default case.
|
# We are running a multimethod without a default case.
|
||||||
# If there's no default it means we don't need to patch.
|
# If there's no default it means we don't need to patch.
|
||||||
tty.msg("No patches needed for %s" % self.name)
|
if not patched:
|
||||||
|
# if we didn't apply a patch, AND the patch function
|
||||||
|
# didn't apply, say no patches are needed.
|
||||||
|
# Otherwise, we already said we applied each patch.
|
||||||
|
tty.msg("No patches needed for %s" % self.name)
|
||||||
except:
|
except:
|
||||||
tty.msg("patch() function failed for %s" % self.name)
|
tty.msg("patch() function failed for %s" % self.name)
|
||||||
touch(bad_file)
|
touch(bad_file)
|
||||||
|
Loading…
Reference in New Issue
Block a user