diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/ack')
-rw-r--r-- | var/spack/repos/builtin/packages/ack/package.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/ack/package.py b/var/spack/repos/builtin/packages/ack/package.py index dd6685a829..b377c30fe9 100644 --- a/var/spack/repos/builtin/packages/ack/package.py +++ b/var/spack/repos/builtin/packages/ack/package.py @@ -45,7 +45,7 @@ class Ack(Package): ack = 'ack-{0}-single-file'.format(self.version) # rewrite the script's #! line to call the perl dependency - shbang = '#!' + join_path(spec['perl'].prefix.bin, 'perl') + shbang = '#!' + spec['perl'].command.path filter_file(r'^#!/usr/bin/env perl', shbang, ack) install(ack, join_path(prefix.bin, "ack")) |