1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 10:12:45 +01:00

dist/tools: Use bash instead of sh where needed

A number of scripts use features from bash such as `local` which are not
in the POSIX spec. This breaks on systems where sh is not symlinked to
bash.

This patch changes the interpreter indicated by the hashbang to bash for
those scripts
This commit is contained in:
Koen Zandberg 2020-10-30 12:12:10 +01:00
parent 9e4dd8e451
commit 96cad82910
No known key found for this signature in database
GPG Key ID: 0895A893E6D2985B
5 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
MAKE=${MAKE:-make}

View File

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
# Copyright 2017 Kaspar Schleiser <kaspar@schleiser.de>
#

View File

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
DLCACHE_DIR=${DLCACHE_DIR:-~/.dlcache}

View File

@ -1,4 +1,4 @@
#!/bin/sh -e
#!/bin/bash -e
[ "$GIT_CACHE_VERBOSE" != "1" ] && Q=-q

View File

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
# Copyright 2017 Kaspar Schleiser <kaspar@schleiser.de>
# Copyright 2014 Ludwig Knüpfer <ludwig.knuepfer@fu-berlin.de>