You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by fr...@apache.org on 2017/05/19 19:36:22 UTC

incubator-trafficcontrol git commit: when creating tarball, do not transform symlinks

Repository: incubator-trafficcontrol
Updated Branches:
  refs/heads/2.0.x bb1dc25b2 -> 6a544f3b7


when creating tarball, do not transform symlinks

(cherry picked from commit ab7de00750fa27e3046d92b60667d73e9243f384)


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/6a544f3b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/6a544f3b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/6a544f3b

Branch: refs/heads/2.0.x
Commit: 6a544f3b7d0d3d4445765522c1cbaaf844cb32e5
Parents: bb1dc25
Author: Dan Kirkwood <da...@gmail.com>
Authored: Fri May 19 12:20:41 2017 -0600
Committer: Eric Friedrich <fr...@apache.org>
Committed: Fri May 19 15:35:41 2017 -0400

----------------------------------------------------------------------
 build/functions.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/6a544f3b/build/functions.sh
----------------------------------------------------------------------
diff --git a/build/functions.sh b/build/functions.sh
index 54fc04c..50ca81b 100755
--- a/build/functions.sh
+++ b/build/functions.sh
@@ -168,7 +168,7 @@ function createTarball() {
         getBuildNumber >"$bndir/BUILD_NUMBER"
 
         # create the tarball only from files in repo and BUILD_NUMBER
-        tar -czf "$tarball" -C "$bndir" BUILD_NUMBER -C "$projDir" --exclude-vcs --transform "s@^@$projName-$version/@" $(git ls-files)
+        tar -czf "$tarball" -C "$bndir" BUILD_NUMBER -C "$projDir" --exclude-vcs --transform "flags=S;s@^@$projName-$version/@" $(git ls-files)
         rm -r "$bndir"
         echo "$tarball"
 }