Lines Matching refs:dst
85 dst=
274 dst=$src
275 dstdir=$dst
296 dst=$dst_arg
299 if test -d "$dst"; then
304 dstdir=$dst
306 case $dst in
307 */) dst=$dst$dstbase;;
308 *) dst=$dst/$dstbase;;
312 dstdir=`dirname "$dst"`
445 { test -z "$chowncmd" || $doit $chowncmd "$dst"; } &&
446 { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } &&
448 test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1
485 old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` &&
492 $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1
499 if test -n "$backupsuffix" && test -f "$dst"; then
500 $doit $mvcmd -f "$dst" "$dst$backupsuffix" 2>/dev/null
504 $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
516 test ! -f "$dst" ||
517 $doit $rmcmd "$dst" 2>/dev/null ||
518 { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
521 { echo "$0: cannot unlink or rename $dst" >&2
527 $doit $mvcmd "$dsttmp" "$dst"