You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by jp...@apache.org on 2013/04/30 00:30:37 UTC
git commit: TS-1865: support DESTDIR in tsxs
Updated Branches:
refs/heads/master 8a6a2487c -> 23279f097
TS-1865: support DESTDIR in tsxs
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/23279f09
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/23279f09
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/23279f09
Branch: refs/heads/master
Commit: 23279f097ef0de928999408b832b1371312eafb4
Parents: 8a6a248
Author: James Peach <jp...@apache.org>
Authored: Mon Apr 29 15:28:52 2013 -0700
Committer: James Peach <jp...@apache.org>
Committed: Mon Apr 29 15:28:52 2013 -0700
----------------------------------------------------------------------
CHANGES | 2 ++
tools/tsxs.in | 4 ++--
2 files changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/23279f09/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index b17ba48..dd1321b 100644
--- a/CHANGES
+++ b/CHANGES
@@ -2,6 +2,8 @@
Changes with Apache Traffic Server 3.3.3
+ *) [TS-1865] Support DESTDIR in tsxs.
+
*) [TS-1864] Illumos / OmniOS needs -m64 with gcc to compile properly on
64-bit platforms. We also only support ATS on 64-bit Illumos.
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/23279f09/tools/tsxs.in
----------------------------------------------------------------------
diff --git a/tools/tsxs.in b/tools/tsxs.in
index c8fa01a..056c88f 100755
--- a/tools/tsxs.in
+++ b/tools/tsxs.in
@@ -191,8 +191,8 @@ if [ -n "$OBJ" ]; then
if [ -r "$OBJ" ]; then
if [ "$INSTALL" = "1" ]; then
echo " installing $OBJ -> $INSTALLDIR/$OBJ"
- cp $OBJ $INSTALLDIR/$OBJ
- chmod 0755 $INSTALLDIR/$OBJ
+ cp $OBJ ${DESTDIR}${INSTALLDIR}/${OBJ}
+ chmod 0755 ${DESTDIR}${INSTALLDIR}/${OBJ}
fi
else
echo "No $OBJ"