summaryrefslogtreecommitdiff
path: root/translate
diff options
context:
space:
mode:
Diffstat (limited to 'translate')
-rwxr-xr-xtranslate/gcc/dist.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/translate/gcc/dist.sh b/translate/gcc/dist.sh
index 326f95a..530436f 100755
--- a/translate/gcc/dist.sh
+++ b/translate/gcc/dist.sh
@@ -43,7 +43,7 @@ GCCVERSION=4.8.2
# Machine name used by GCC
MACHINE=i686-pc-linux-gnu
# Directory where GCC sources (and objects) stay.
-DISTDIR=$HOME/dist
+DISTDIR=${DISTDIR:-$HOME/dist}
# GTKWave version.
GTKWAVE_VERSION=3.3.50