Commit acc76a6e authored by Bjørn Forsman's avatar Bjørn Forsman Committed by Peter Korsgaard
Browse files

Change /bin/bash shebangs into /usr/bin/env bash

Not all systems have /bin/bash (e.g. NixOS[1] doesn't). Buildroot
already uses /usr/bin/env shebangs for other interpreters (perl,
python), so why not bash?

This changes only the shebangs used by Buildroot itself; stuff installed
to the target system is left unchanged.

With this applied I can run Buildroot unmodified on NixOS.

[1]: http://nixos.org/



Signed-off-by: default avatarBjørn Forsman <bjorn.forsman@gmail.com>
Acked-by: default avatar"Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
parent b7c1c3ba
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
#!/bin/bash
#!/usr/bin/env bash

# We want to catch any unexpected failure, and exit immediately
set -e
+1 −1
Original line number Diff line number Diff line
#!/bin/bash
#!/usr/bin/env bash
set -e

# Helper to check a file matches its known hash
+1 −1
Original line number Diff line number Diff line
#!/bin/bash
#!/usr/bin/env bash

# We want to catch any unexpected failure, and exit immediately
set -e
+1 −1
Original line number Diff line number Diff line
#!/bin/bash
#!/usr/bin/env bash

# We want to catch any unexpected failure, and exit immediately
set -e
+1 −1
Original line number Diff line number Diff line
#!/bin/bash
#!/usr/bin/env bash

# We want to catch any unexpected failure, and exit immediately
set -e
Loading