[PATCH] 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
Reply to: