changeset 28987:023f47c5ce79 stable

dockerdeb: redirect 'cd' in export command to /dev/null This had the unfortunate side effect of causing the environment to have a newline due to the fact that some 'cd' outputs the result of the directory change. So, let's just redirect the meaningless output.
author Sean Farley <sean@farley.io>
date Sun, 17 Apr 2016 10:36:40 -0700
parents 97811ff79647
children 4f1dac94b53f
files contrib/dockerdeb
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/dockerdeb	Sat Mar 26 18:50:56 2016 +0900
+++ b/contrib/dockerdeb	Sun Apr 17 10:36:40 2016 -0700
@@ -4,7 +4,7 @@
 . $(dirname $0)/packagelib.sh
 
 BUILDDIR=$(dirname $0)
-export ROOTDIR=$(cd $BUILDDIR/..; pwd)
+export ROOTDIR=$(cd $BUILDDIR/.. > /dev/null; pwd)
 
 checkdocker