Project

General

Profile

Actions

Bug #33810

closed

Hammer on Ubuntu 20.04 has a wrong shebang

Added by Ewoud Kohl van Wijngaarden over 2 years ago. Updated over 2 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 #1

Updated by Ewoud Kohl van Wijngaarden over 2 years ago

  • Subject changed from Hammer has a wrong shebang to Hammer on Ubuntu 20.04 has a wrong shebang
Actions #2

Updated by The Foreman Bot over 2 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Ewoud Kohl van Wijngaarden
  • Pull request https://github.com/theforeman/foreman-packaging/pull/7217 added
Actions #3

Updated by Ewoud Kohl van Wijngaarden over 2 years ago

  • Project changed from Packaging to Hammer CLI
  • Category changed from Debian/Ubuntu to Hammer core
  • Target version changed from 3.1.0 to hammer-cli-3.1.0
  • Found in Releases hammer-cli-3.0.0 added
  • Found in Releases deleted (3.1.0)

Moving the bug to the Hammer project to fix it at the source.

Actions #4

Updated by The Foreman Bot over 2 years ago

  • Pull request https://github.com/theforeman/hammer-cli/pull/355 added
Actions #5

Updated by The Foreman Bot over 2 years ago

  • Fixed in Releases hammer-cli-3.1.0 added
Actions #6

Updated by Ewoud Kohl van Wijngaarden over 2 years ago

  • Status changed from Ready For Testing to Closed
Actions #7

Updated by Oleh Fedorenko over 2 years ago

  • Fixed in Releases hammer-cli-3.0.1 added
Actions

Also available in: Atom PDF