Lines Matching refs:dst
95 dst=
245 dst=$src
246 dstdir=$dst
264 dst=$dst_arg
266 case $dst in
267 -*) dst=./$dst;;
272 if test -d "$dst"; then
277 dstdir=$dst
278 dst=$dstdir/`basename "$src"`
283 (dirname "$dst") 2>/dev/null ||
284 expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
285 X"$dst" : 'X\(//\)[^/]' \| \
286 X"$dst" : 'X\(//\)$' \| \
287 X"$dst" : 'X\(/\)' \| . 2>/dev/null ||
288 echo X"$dst" |
447 { test -z "$chowncmd" || $doit $chowncmd "$dst"; } &&
448 { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } &&
450 test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1
476 old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` &&
486 $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1
491 $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
503 test ! -f "$dst" ||
504 $doit $rmcmd -f "$dst" 2>/dev/null ||
505 { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
508 { echo "$0: cannot unlink or rename $dst" >&2
514 $doit $mvcmd "$dsttmp" "$dst"