Update ooo320-m1
[ooovba.git] / solenv / bin / makedepn
blobc08ea38d0f3099bcc8587d02cbdf342b67599f67
1 #!/bin/sh -e
2 if [ -z "$1" ]; then
3 exit 1;
4 fi
5 infile=`echo "$1" | sed 's/^@//'`
6 for 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;
12 done
13 exit 1