Use `mv -f` to make sure mv does not prompt for confirmation.
authorZac Medico <zmedico@gentoo.org>
Fri, 17 Mar 2006 03:58:53 +0000 (03:58 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 17 Mar 2006 03:58:53 +0000 (03:58 -0000)
svn path=/main/trunk/; revision=2911

bin/misc-functions.sh

index 8535a967987ae3bec2670e7f54e72794cfae8813..dff882232065937e23167550de0754e0ed9cb34e 100644 (file)
@@ -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}"