xref: /trunk/main/solenv/bin/makedepn (revision cdf0e10c)
1#!/bin/sh -e
2if [ -z "$1" ]; then
3  exit 1;
4fi
5infile=`echo "$1" | sed 's/^@//'`
6for i in `cat "$infile"`; do
7  i=`echo "$i" | fgrep -- "-O:" | awk -F: '{print $2}'`
8  if [ ! -z "$i" ]; then
9    echo "#" > "$i"
10    exit 0;
11  fi;
12done
13exit 1
14