Repository: incubator-s2graph
Updated Branches:
  refs/heads/master a6e68a72c -> 955d85e43


[S2GRAPH-105]: Generated tarball contains full path where package was built.

JIRA:
    [S2GRAPH-105] https://issues.apache.org/jira/browse/S2GRAPH-105

Pull Request:
    Closes #75

Authors:
    Sergio Fernández: <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/commit/955d85e4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/tree/955d85e4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/diff/955d85e4

Branch: refs/heads/master
Commit: 955d85e430a052a92c0686453a4691e30c561beb
Parents: a6e68a7
Author: DO YUNG YOON <[email protected]>
Authored: Thu Sep 1 23:52:03 2016 +0900
Committer: DO YUNG YOON <[email protected]>
Committed: Thu Sep 1 23:52:03 2016 +0900

----------------------------------------------------------------------
 CHANGES                | 2 ++
 project/Packager.scala | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/955d85e4/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index 084a2d6..353b716 100644
--- a/CHANGES
+++ b/CHANGES
@@ -122,6 +122,8 @@ Release 0.12.1 - unreleased
 
     S2GRAPH-30: Typo in README. (Contributed by Hyunsung 
Jo<[email protected]>, committed by DOYUNG YOON).
 
+    S2GRAPH-105: remove the full path on packaged tarball (Committed by Sergio 
Fernández).
+
   SUB TASKS
 
     S2GRAPH-9: Provide rest server using netty. (Committed by daewon).

http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/955d85e4/project/Packager.scala
----------------------------------------------------------------------
diff --git a/project/Packager.scala b/project/Packager.scala
index cd260cf..a16a530 100644
--- a/project/Packager.scala
+++ b/project/Packager.scala
@@ -119,7 +119,7 @@ object Packager {
       {
         import scala.sys.process._
         streams.log.info(s"creating a tarball...")
-        s"tar zcf $base.tar.gz $base".!!
+        s"tar zcf $base.tar.gz -C $target $name".!!
         streams.log.info(s"Tarball is located at $base.tar.gz")
       }
 

Reply via email to