mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 04:52:59 +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:
parent
9e4dd8e451
commit
96cad82910
2
dist/tools/ci/print_toolchain_versions.sh
vendored
2
dist/tools/ci/print_toolchain_versions.sh
vendored
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
MAKE=${MAKE:-make}
|
||||
|
||||
|
2
dist/tools/coccinelle/check.sh
vendored
2
dist/tools/coccinelle/check.sh
vendored
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
# Copyright 2017 Kaspar Schleiser <kaspar@schleiser.de>
|
||||
#
|
||||
|
2
dist/tools/dlcache/dlcache.sh
vendored
2
dist/tools/dlcache/dlcache.sh
vendored
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
DLCACHE_DIR=${DLCACHE_DIR:-~/.dlcache}
|
||||
|
||||
|
2
dist/tools/git/git-cache
vendored
2
dist/tools/git/git-cache
vendored
@ -1,4 +1,4 @@
|
||||
#!/bin/sh -e
|
||||
#!/bin/bash -e
|
||||
|
||||
[ "$GIT_CACHE_VERBOSE" != "1" ] && Q=-q
|
||||
|
||||
|
2
dist/tools/licenses/check.sh
vendored
2
dist/tools/licenses/check.sh
vendored
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user