]> code.delx.au - gnu-emacs-elpa/commitdiff
bugfix: more correctly create the Marmelade package for #217
authorJoão Távora <joaotavora@gmail.com>
Tue, 29 May 2012 21:40:05 +0000 (22:40 +0100)
committerJoão Távora <joaotavora@gmail.com>
Tue, 29 May 2012 21:40:05 +0000 (22:40 +0100)
Rakefile

index 3eb6710b68c7cbf9841fd1367860ad73c354d6d1..b36a2f242b5c45c8471c7901c15a917011d9aed1 100644 (file)
--- a/Rakefile
+++ b/Rakefile
@@ -36,7 +36,9 @@ task :package do
 END
   end
   sh "git clean -f snippets"
-  sh "tar cf pkg/yasnippet-#{$version}.tar pkg/yasnippet-#{$version}"
+  FileUtils.cd 'pkg' do
+    sh "tar cf yasnippet-#{$version}.tar yasnippet-#{$version}"
+  end
 end
 
 desc "create a release package and upload it to google code"