summaryrefslogtreecommitdiff
path: root/Tools/qt/make-snapshot.pl
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/qt/make-snapshot.pl')
-rwxr-xr-xTools/qt/make-snapshot.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tools/qt/make-snapshot.pl b/Tools/qt/make-snapshot.pl
index 8b189059c..027c425f3 100755
--- a/Tools/qt/make-snapshot.pl
+++ b/Tools/qt/make-snapshot.pl
@@ -50,6 +50,7 @@ my @commands = (
"Tools/gtk/make-dist.py -t snapshot Tools/qt/manifest.txt",
"cd $target_repo",
"git rm -rf *",
+ "git checkout HEAD dist", # hack to avoid removing dist
"tar -xf $src_repo/snapshot.tar --strip-components=1",
"git add -A",
"rm $src_repo/snapshot.tar",