File: c89.sh

package info (click to toggle)
edk2 0~20161202.7bbe0b3e-1%2Bdeb9u1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 178,536 kB
  • sloc: ansic: 1,712,279; perl: 107,239; python: 93,573; asm: 75,607; cpp: 22,797; makefile: 15,605; sh: 5,170; pascal: 2,013; xml: 318; lisp: 58
file content (15 lines) | stat: -rwxr-xr-x 211 bytes parent folder | download | duplicates (17)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh -k
#
# Re-order arguments so that -L comes first
#
opts=""
lopts=""
        
for arg in $* ; do
  case $arg in
    -L*) lopts="$lopts $arg" ;;
    *) opts="$opts $arg" ;;
  esac
done

c89 $lopts $opts