Project

General

Profile

Actions

Bug #33810

closed

Hammer on Ubuntu 20.04 has a wrong shebang

Added by Ewoud Kohl van Wijngaarden about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Category:
Hammer core
Target version:
Found in Releases:
In Kanboard:

Description

At least on Ubuntu 20.04 the shebang of hammer is

/usr/bin/env ruby
which can mean it's executed using the wrong Ruby.

Reproducer:

export PATH=/opt/puppetlabs/puppet/bin:$PATH
hammer -v

See https://github.com/theforeman/puppet-foreman/pull/981#issuecomment-954887717 as well.

Marking as Found in Releases 3.1.0 but really I checked with current nightly.

This prevents testing it in puppet-foreman.

Actions

Also available in: Atom PDF