blob: dc851a5e339032191ae4bcc5f33ffdb962bbc6cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# $NetBSD: libtool-do-install,v 1.2 2003/09/02 06:59:56 jlam Exp $
#
# This file is called directly by the libtool wrapper when it has
# figured out that the libtool invocation is meant to do a file
# installation. We simply quote the remaining command-line arguments
# properly to build a correct libtool command line. The libtool
# wrapper will perform the actual execution. We don't worry about
# caching or speed, since installation is not a bottleneck for package
# creation.
cmd="$cmd $arg"
while $test $# -gt 0; do
arg="$1"; shift
case $arg in
*[\`\"\$\\]*)
arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
;;
esac
case $arg in
*[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
arg="\"$arg\""
;;
esac
cmd="$cmd $arg"
done
|