900-bash-location.patch 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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 <[email protected]>
  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. --- a/scripts/driver-select
  32. +++ b/scripts/driver-select
  33. @@ -1,4 +1,4 @@
  34. -#!/bin/bash
  35. +#!/usr/bin/env bash
  36. # Copyright 2009 Luis R. Rodriguez <[email protected]>
  37. #
  38. # This script allows you to select your compat-wireless driver and
  39. --- a/scripts/gen-compat-autoconf.sh
  40. +++ b/scripts/gen-compat-autoconf.sh
  41. @@ -1,4 +1,4 @@
  42. -#!/bin/bash
  43. +#!/usr/bin/env bash
  44. #
  45. # Copyright 2007 Luis R. Rodriguez <[email protected]>
  46. #
  47. --- a/scripts/gen-stable-release.sh
  48. +++ b/scripts/gen-stable-release.sh
  49. @@ -1,4 +1,4 @@
  50. -#!/bin/bash
  51. +#!/usr/bin/env bash
  52. # Copyright 2009 Luis R. Rodriguez <[email protected]>
  53. #
  54. # You can use this to make stable compat-wireless releases
  55. --- a/scripts/skip-colors
  56. +++ b/scripts/skip-colors
  57. @@ -1,2 +1,2 @@
  58. -#!/bin/bash
  59. +#!/usr/bin/env bash
  60. perl -pe 's|(\e)\[(\d+)(;*)(\d*)(\w)||g'