Bug 872 - Remove bashisms from Makefile and remove-old
: Remove bashisms from Makefile and remove-old
Status: VERIFIED FIXED
: ieee80211
default
: unspecified
: All All
: P2 normal
Assigned To:
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2005-12-21 03:54 by
Modified: 2005-12-22 02:23 (History)


Attachments
Proposed patch (3.07 KB, patch)
2005-12-21 03:56, Henrik Brix Andersen
Details | Diff


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2005-12-21 03:54:54
The current Makefile assumes that the /bin/sh shell is bash-compatible. This
makes the build process fail for non-bash /bin/sh shells (e.g. dash).

The remove-old script currently depends on bash (#!/bin/bash) although it can
easily be modified to run under a generic /bin/sh.
------- Comment #1 From 2005-12-21 03:56:17 -------
Created an attachment (id=639) [details]
Proposed patch

This patch removes the bashisms from Makefile and remove-old, making it
possible to install the ieee80211 package under non-bash shells.
------- Comment #2 From 2005-12-21 03:57:51 -------
Downstream bug report: https://bugs.gentoo.org/115428
------- Comment #3 From 2005-12-21 04:05:48 -------
The remove-old scripts found in ipw2200 (bug #873) and ipw2100 (bug #874) should
modified in a similar way.
------- Comment #4 From 2005-12-21 19:00:09 -------
patch merged. thanks!
------- Comment #5 From 2005-12-22 02:23:30 -------
Verified with ieee80211-1.1.7-pre3. Thanks.