Blame view

RIOT/boards/x86-multiboot-common/dist/link 182 Bytes
a752c7ab   elopes   add first test an...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
  #!/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[@]}"