Opened 4 years ago

Last modified 4 years ago

#22193 closed defect

/usr/bin/josm is broken (/usr/bin/josm: /usr/bin/bash: bad interpreter: No such file or directory) — at Version 1

Reported by: sebastic Owned by: team
Priority: normal Milestone: 22.07
Component: Ubuntu package Version: tested
Keywords: linux Cc: taylor.smock, sebastic

Description (last modified by sebastic)

#22088 broke /usr/bin/josm on non-usmerge systems:

$ /usr/bin/josm 
bash: /usr/bin/josm: /usr/bin/bash: bad interpreter: No such file or directory

The interpreter change in r18500 needs to be reverted, the following patch is included in the Debian package to do so:

Description: Fix bash path.
Author: Bas Couwenberg <sebastic@debian.org>
Bug: https://josm.openstreetmap.de/ticket/22088

--- a/native/linux/tested/usr/bin/josm
+++ b/native/linux/tested/usr/bin/josm
@@ -1,4 +1,4 @@
-#!/usr/bin/bash
+#!/bin/bash
 # Simple wrapper script used to start JOSM in Debian
 set -e

The same change needs to be applied for josm-latest:

--- a/native/linux/latest/usr/bin/josm-latest
+++ b/native/linux/latest/usr/bin/josm-latest
@@ -1,4 +1,4 @@
-#!/usr/bin/bash
+#!/bin/bash
 # Simple wrapper script used to start JOSM in Debian
 set -e
 

Change History (1)

comment:1 by sebastic, 4 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.