diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/llvm/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/llvm/package.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/llvm/package.py b/var/spack/repos/builtin/packages/llvm/package.py index 2ecd61d75a..3be612fecc 100644 --- a/var/spack/repos/builtin/packages/llvm/package.py +++ b/var/spack/repos/builtin/packages/llvm/package.py @@ -504,10 +504,9 @@ class Llvm(CMakePackage): if not self.spec.satisfies('+lldb platform=darwin'): return codesign = which('codesign') - cp = which('cp') mkdir('tmp') llvm_check_file = join_path('tmp', 'llvm_check') - cp('/usr/bin/false', llvm_check_file) + copy('/usr/bin/false', llvm_check_file) try: codesign('-f', '-s', 'lldb_codesign', '--dryrun', |