From 4272a33379eb86b24f8fc1f60f39a6083e3791c1 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 17 Mar 2006 03:58:53 +0000 Subject: Use `mv -f` to make sure mv does not prompt for confirmation. svn path=/main/trunk/; revision=2911 --- bin/misc-functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index 8535a9679..dff882232 100644 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -411,7 +411,7 @@ dyn_package() { xpak build-info inf.xpak tbz2tool join bin.tar.bz2 inf.xpak "${PF}.tbz2" addwrite "${PKGDIR}" - mv "${PF}.tbz2" "${PKGDIR}/All" || die "Failed to move tbz2 to ${PKGDIR}/All" + mv -f "${PF}.tbz2" "${PKGDIR}/All" || die "Failed to move tbz2 to ${PKGDIR}/All" rm -f inf.xpak bin.tar.bz2 if [ ! -d "${PKGDIR}/${CATEGORY}" ]; then install -d "${PKGDIR}/${CATEGORY}" -- cgit v1.2.3-1-g7c22