summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xjenkins-makesources2
1 files changed, 1 insertions, 1 deletions
diff --git a/jenkins-makesources b/jenkins-makesources
index 5acd4ea..9eb7d6e 100755
--- a/jenkins-makesources
+++ b/jenkins-makesources
@@ -64,7 +64,7 @@ currentdate=`date -R`
pkg_dir=${upstream_source}-${pkg_version}
cp -a $upstream_source "${pkg_dir}.orig"
-rm -rf "${pkg_dir}.orig/.git"
+rm -rf "${pkg_dir}.orig/.git" $packaging_dir/.git
cp -a "${pkg_dir}.orig" "${pkg_dir}"
cp -a $packaging_dir "${pkg_dir}/debian/"
tar caf ${upstream_source}_${pkg_version}.orig.tar.xz ${pkg_dir}.orig