FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian dpkg

 
 
LinkBack Thread Tools
 
Old 07-25-2010, 06:20 PM
Joey Hess
 
Default fix path to gitshallow file

It was looking in the current directory, which works most of the time,
but not always.
---
scripts/Dpkg/Source/Package/V3/git.pm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/Dpkg/Source/Package/V3/git.pm b/scripts/Dpkg/Source/Package/V3/git.pm
index c7429c1..de80b4e 100644
--- a/scripts/Dpkg/Source/Package/V3/git.pm
+++ b/scripts/Dpkg/Source/Package/V3/git.pm
@@ -225,7 +225,7 @@ sub do_extract {
# Move shallow info file into place, so git does not
# try to follow parents of shallow refs.
info(_g("setting up shallow clone"));
- system("cp", "-f", $shallow, "$newdirectory/.git/shallow");
+ system("cp", "-f", $dscdir.$shallow, "$newdirectory/.git/shallow");
$? && subprocerr("cp");
}

--
1.7.1


--
To UNSUBSCRIBE, email to debian-dpkg-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100725182041.GA21403@gnu.kitenet.net">http://lists.debian.org/20100725182041.GA21403@gnu.kitenet.net
 

Thread Tools




All times are GMT. The time now is 12:13 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org