summaryrefslogtreecommitdiff
path: root/mk/buildlink2/libtool-do-install
blob: 6638450975570ac99bbe81dfaeb5572bea64156c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# $NetBSD: libtool-do-install,v 1.1 2002/12/26 17:08:56 jlam Exp $

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