Revision c830c1a209b7159c21a4c609623ee1c723d1f5c9 authored by Mark J. Cox on 28 September 2006, 11:56:57 UTC, committed by Mark J. Cox on 28 September 2006, 11:56:57 UTC
1 parent b213966
Raw File
c89.sh
#!/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
back to top