diff options
Diffstat (limited to 'bin/aix_shr')
-rwxr-xr-x | bin/aix_shr | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/bin/aix_shr b/bin/aix_shr deleted file mode 100755 index a19ae9fe8d5..00000000000 --- a/bin/aix_shr +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/sh -# $Id$ -# Filter out the duplicate symbol warnings from Visual Age C++ -# - -output=`basename $0`.$$.`/bin/date +%Y%m%d%H%M%S` -usrtmp="/tmp" -for possible in "$TMPDIR" "$TEMP" "$TMP"; do - if [ "$possible" != "" ]; then - if [ -w "$possible" ]; then - usrtmp="$possible" - break - fi - fi -done - -## Send the output to a temporary file and save the return code -$@ > "$usrtmp/$output" 2>&1 -status=$? - -## Print the output to stdout, but filter duplicate symbol warnings -/bin/egrep -v '0711-(224|345)' "$usrtmp/$output" - -## Clean up the temporary file -/bin/rm -f "$usrtmp/$output" - -## Exit with the return code from the compiler -exit $status |