Revision d59d0b7c21ef656b4b352b16e5f8fce97ecc6e23 authored by Andy Polyakov on 13 February 2014, 16:03:14 UTC, committed by Andy Polyakov on 13 February 2014, 16:03:14 UTC
1 parent dbd512e
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

Computing file changes ...