repo.or.cz
/
dragonfly.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
remove gcc34
[dragonfly.git]
/
crypto
/
heimdal-0.6.3
/
lib
/
auth
/
sia
/
make-rpath
blob
2223aa00b00e7afa270e208a292992e14f150528
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}
"