mac80211: backport some more compat fixes, fix compile issues on 2.6.31 and earlier
[openwrt.git] / package / mac80211 / patches / 900-bash-location.patch
1 --- a/scripts/admin-clean.sh
2 +++ b/scripts/admin-clean.sh
3 @@ -1,4 +1,4 @@
4 -#!/bin/bash
5 +#!/usr/bin/env bash
6 if [ -d net ] ; then
7 make clean
8 fi
9 --- a/scripts/admin-refresh.sh
10 +++ b/scripts/admin-refresh.sh
11 @@ -1,3 +1,3 @@
12 -#!/bin/bash
13 +#!/usr/bin/env bash
14 ./scripts/admin-clean.sh $@
15 ./scripts/admin-update.sh $@
16 --- a/scripts/admin-update.sh
17 +++ b/scripts/admin-update.sh
18 @@ -1,4 +1,4 @@
19 -#!/bin/bash
20 +#!/usr/bin/env bash
21 #
22 # Copyright 2007, 2008, 2010 Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
23 #
24 --- a/scripts/check_config.sh
25 +++ b/scripts/check_config.sh
26 @@ -1,4 +1,4 @@
27 -#!/bin/bash
28 +#!/usr/bin/env bash
29 # This script checks the compat-wireless configuration file and if changes were made
30 # regenerates the compat_autoconf header.
31
32 --- a/scripts/driver-select
33 +++ b/scripts/driver-select
34 @@ -1,4 +1,4 @@
35 -#!/bin/bash
36 +#!/usr/bin/env bash
37 # Copyright 2009 Luis R. Rodriguez <mcgrof@gmail.com>
38 #
39 # This script allows you to select your compat-wireless driver and
40 --- a/scripts/gen-compat-autoconf.sh
41 +++ b/scripts/gen-compat-autoconf.sh
42 @@ -1,4 +1,4 @@
43 -#!/bin/bash
44 +#!/usr/bin/env bash
45 #
46 # Copyright 2007 Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
47 #
48 --- a/scripts/gen-stable-release.sh
49 +++ b/scripts/gen-stable-release.sh
50 @@ -1,4 +1,4 @@
51 -#!/bin/bash
52 +#!/usr/bin/env bash
53 # Copyright 2009 Luis R. Rodriguez <mcgrof@gmail.com>
54 #
55 # You can use this to make stable compat-wireless releases
56 --- a/scripts/skip-colors
57 +++ b/scripts/skip-colors
58 @@ -1,2 +1,2 @@
59 -#!/bin/bash
60 +#!/usr/bin/env bash
61 perl -pe 's|(\e)\[(\d+)(;*)(\d*)(\w)||g'
This page took 0.046601 seconds and 5 git commands to generate.