Use more portable switch for uniq to unbreak osx build
This commit is contained in:
parent
1ef79e99f7
commit
8d61d0d20d
|
@ -5,7 +5,7 @@ EXPORTS=`find "${SOURCE_PATH}" -name "*exports"`
|
||||||
|
|
||||||
ERRORS=0
|
ERRORS=0
|
||||||
for E in $EXPORTS; do
|
for E in $EXPORTS; do
|
||||||
NUM_DUPES=`sort $E | uniq -D | wc -l`
|
NUM_DUPES=`sort $E | uniq -d | wc -l`
|
||||||
if [[ "$NUM_DUPES" != 0 ]]; then
|
if [[ "$NUM_DUPES" != 0 ]]; then
|
||||||
echo "There are duplicate symbols in '$E'"
|
echo "There are duplicate symbols in '$E'"
|
||||||
ERRORS=1
|
ERRORS=1
|
||||||
|
|
Loading…
Reference in New Issue