VirtualBox

Ignore:
Timestamp:
Feb 8, 2010 11:17:48 PM (15 years ago)
Author:
vboxsync
Message:

checkUndefined.sh: Use [:blank:].

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bldprogs/checkUndefined.sh

    r20962 r26337  
    11#! /bin/sh
    22
    3 # Copyright (C) 2006-2007 Sun Microsystems, Inc.
     3#
     4# Copyright (C) 2006-2010 Sun Microsystems, Inc.
    45#
    56# This file is part of VirtualBox Open Source Edition (OSE), as
     
    1617#
    1718
     19#
    1820# Compare undefined symbols in a shared or static object against a new-line
    1921# separated list of grep patterns in a text file.
     
    2224#
    2325# Currently only works for native objects on Linux platforms
     26#
    2427
    2528echoerr()
     
    7477fi
    7578
    76 undefined=`$objdumpbin $command $target | $grepbin '*UND*' | $grepbin -v -f $symbols | sed -e 's/^.*[   ]\(.*\)/\1/'`
     79undefined=`$objdumpbin $command $target | $grepbin '*UND*' | $grepbin -v -f $symbols | kmk_sed -e 's/^.*[[:blank:]]\(.*\)/\1/'`
    7780num_undef=`echo $undefined | wc -w`
    7881
     
    8588exit 0
    8689
    87 
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette