Current Path : /usr/src/crypto/heimdal/lib/auth/sia/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/src/crypto/heimdal/lib/auth/sia/make-rpath |
#!/bin/sh # $Id: make-rpath 10345 2001-07-17 15:15:31Z assar $ rlist= rest= while test $# -gt 0; do case $1 in -R|-rpath) if test "$rlist"; then rlist="${rlist}:$2" else rlist="$2" fi shift 2 ;; -R*) d=`echo $1 | sed 's,^-R,,'` if test "$rlist"; then rlist="${rlist}:${d}" else rlist="${d}" fi shift ;; *) rest="${rest} $1" shift ;; esac done rpath= if test "$rlist"; then rpath="-rpath $rlist " fi echo "${rpath}${rest}"