summaryrefslogtreecommitdiffstats
path: root/scripts/buildinstall
diff options
context:
space:
mode:
authorJoel Andres Granados <jgranado@redhat.com>2008-02-22 14:03:51 +0100
committerJoel Andres Granados <jgranado@redhat.com>2008-02-22 14:04:04 +0100
commitc4167235088d4acd87a2f899f328867bb0c7e7e6 (patch)
treee34d0515769bb30cdf636639a0f2b1b12a408a23 /scripts/buildinstall
parent1782191ad7e9bd5b502531483fbac4c0109d85ba (diff)
downloadanaconda-c4167235088d4acd87a2f899f328867bb0c7e7e6.tar.gz
anaconda-c4167235088d4acd87a2f899f328867bb0c7e7e6.tar.xz
anaconda-c4167235088d4acd87a2f899f328867bb0c7e7e6.zip
Lets redirect to /dev/null to ensure that what we get in DIR is the result of pwd.
Diffstat (limited to 'scripts/buildinstall')
-rwxr-xr-xscripts/buildinstall2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/buildinstall b/scripts/buildinstall
index f36254027..5632d6804 100755
--- a/scripts/buildinstall
+++ b/scripts/buildinstall
@@ -86,7 +86,7 @@ if [ -z "$BUGURL" ]; then
BUGURL="your distribution provided bug reporting tool."
fi
-DIR=`cd $DIR; /bin/pwd`
+DIR=`cd $DIR > /dev/null; /bin/pwd`
BUILDINSTDIR=`mktemp -d ${TMPDIR:-/tmp}/buildinstall.tree.XXXXXX`
TREEDIR=`mktemp -d ${TMPDIR:-/tmp}/treedir.XXXXXX`