mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
72ee60b9d5
For host systems like FreeBSD, bash binary is found in a different path.
15 lines
182 B
Bash
Executable File
15 lines
182 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
args=($@)
|
|
|
|
for ((i = 0; i < ${#args[@]}; ++i))
|
|
do
|
|
if [[ "${args[i]}" == '-lm' ]]
|
|
then
|
|
unset args[i]
|
|
break
|
|
fi
|
|
done
|
|
|
|
exec "${args[@]}"
|