tuxillo's projects
/
dragonfly.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Initial import from FreeBSD RELENG_4:
[dragonfly.git]
/
crypto
/
heimdal
/
lib
/
auth
/
sia
/
make-rpath
1
#!/bin/sh
2
# $Id: make-rpath,v 1.1 2001/07/17 15:15:31 assar Exp $
3
rlist=
4
rest=
5
while test $# -gt 0; do
6
case $1 in
7
-R|-rpath)
8
if test "$rlist"; then
9
rlist="${rlist}:$2"
10
else
11
rlist="$2"
12
fi
13
shift 2
14
;;
15
-R*)
16
d=`echo $1 | sed 's,^-R,,'`
17
if test "$rlist"; then
18
rlist="${rlist}:${d}"
19
else
20
rlist="${d}"
21
fi
22
shift
23
;;
24
*)
25
rest="${rest} $1"
26
shift
27
;;
28
esac
29
done
30
rpath=
31
if test "$rlist"; then
32
rpath="-rpath $rlist "
33
fi
34
echo "${rpath}${rest}"