dockerdeb: redirect 'cd' in export command to /dev/null stable
authorSean Farley <sean@farley.io>
Sun, 17 Apr 2016 10:36:40 -0700
branchstable
changeset 28987 023f47c5ce79
parent 28986 97811ff79647
child 28988 4f1dac94b53f
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.
contrib/dockerdeb
--- 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