git.samba.org
/
tridge
/
samba.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
s4-python: put the python shared libs on a severe diet
[tridge/samba.git]
/
source4
/
build
/
make
/
object_list.sh
1
#!/bin/bash
2
3
# remove any duplicate object names from a link list. This is used for
4
# the glue.so python module
5
6
OLIST=""
7
EXTRA=""
8
for a in $*; do
9
case $a in
10
-*)
11
EXTRA="$EXTRA $a"
12
;;
13
*)
14
[ -f $a ] && OLIST="$OLIST $a"
15
;;
16
esac
17
done
18
echo -n $(/bin/ls $OLIST | sort -u)
19
echo -n " $EXTRA"