Symlink patches instead of moving them.
authorRobin H. Johnson <robbat2@gentoo.org>
Sun, 9 Mar 2008 21:07:55 +0000 (21:07 +0000)
committerRobin H. Johnson <robbat2@gentoo.org>
Sun, 9 Mar 2008 21:07:55 +0000 (21:07 +0000)
eclass/mysql_fx.eclass

index 1ee719a4e351fac121fdf2282e4e9bda4dcd9bda..ffbaa21776fee279f1f01f6120f50f6b7ee9e6e8 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/mysql_fx.eclass,v 1.20 2007/04/23 19:35:05 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/mysql_fx.eclass,v 1.21 2008/03/09 21:07:55 robbat2 Exp $
 
 # Author: Francesco Riosa (Retired) <vivo@gentoo.org>
 # Maintainer: Luca Longinotti <chtekk@gentoo.org>
@@ -71,7 +71,7 @@ _mysql_test_patch_ver_pn() {
        local flags=$1 pname=$2
        if [[ $(( $flags & $(( 1 + 4 + 16 )) )) -eq 21 ]] ; then
                einfo "using '${pname}'"
-               mv -f "${filesdir}/${pname}" "${EPATCH_SOURCE}" || die "Couldn't move ${pname}"
+               ln -sf "${filesdir}/${pname}" "${EPATCH_SOURCE}" || die "Couldn't move ${pname}"
                return 0
        fi