summaryrefslogtreecommitdiffstats
path: root/scripts/generate_dmm_rpm.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/generate_dmm_rpm.sh')
-rwxr-xr-xscripts/generate_dmm_rpm.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/generate_dmm_rpm.sh b/scripts/generate_dmm_rpm.sh
index bce4580..711f475 100755
--- a/scripts/generate_dmm_rpm.sh
+++ b/scripts/generate_dmm_rpm.sh
@@ -22,7 +22,7 @@ version="18.04"
mkdir -p ~/rpmbuild/SOURCES
cd ../
-git archive --format=tar.gz -o ~/rpmbuild/SOURCES/${name}-${version}.tar.gz --prefix=${name}-${version}/ master
+git archive --format=tar.gz -o ~/rpmbuild/SOURCES/${name}-${version}.tar.gz --prefix=${name}-${version}/ HEAD
cd ~/rpmbuild/SOURCES
tar xzvf ${name}-${version}.tar.gz