makedepn (5b501c92) makedepn (710881b9)
1#!/bin/sh -e
2# *************************************************************
3#
4# Licensed to the Apache Software Foundation (ASF) under one
5# or more contributor license agreements. See the NOTICE file
6# distributed with this work for additional information
7# regarding copyright ownership. The ASF licenses this file
8# to you under the Apache License, Version 2.0 (the

--- 10 unchanged lines hidden (view full) ---

19# under the License.
20#
21# *************************************************************
22if [ -z "$1" ]; then
23 exit 1;
24fi
25infile=`echo "$1" | sed 's/^@//'`
26for i in `cat "$infile"`; do
1#!/bin/sh -e
2# *************************************************************
3#
4# Licensed to the Apache Software Foundation (ASF) under one
5# or more contributor license agreements. See the NOTICE file
6# distributed with this work for additional information
7# regarding copyright ownership. The ASF licenses this file
8# to you under the Apache License, Version 2.0 (the

--- 10 unchanged lines hidden (view full) ---

19# under the License.
20#
21# *************************************************************
22if [ -z "$1" ]; then
23 exit 1;
24fi
25infile=`echo "$1" | sed 's/^@//'`
26for i in `cat "$infile"`; do
27 i=`echo "$i" | fgrep -- "-O:" | awk -F: '{print $2}'`
27 i=`echo "$i" | grep -F -- "-O:" | awk -F: '{print $2}'`
28 if [ ! -z "$i" ]; then
29 echo "#" > "$i"
30 exit 0;
31 fi;
32done
33exit 1
28 if [ ! -z "$i" ]; then
29 echo "#" > "$i"
30 exit 0;
31 fi;
32done
33exit 1