summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.profile4
1 files changed, 3 insertions, 1 deletions
diff --git a/.profile b/.profile
index c2fbf49..2e2e1d0 100644
--- a/.profile
+++ b/.profile
@@ -42,7 +42,9 @@ _JAVA_OPTIONS=''
_JAVA_OPTIONS+=' -Dawt.useSystemAAFontSettings=on'
_JAVA_OPTIONS+=' -Dswing.aatext=true'
_JAVA_OPTIONS+=' -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel'
-_JAVA_OPTIONS+=" -Djava.io.tmpdir=$TMPDIR"
+if [ -n "$TMPDIR" ]; then
+ _JAVA_OPTIONS+=" -Djava.io.tmpdir=$TMPDIR"
+fi
export _JAVA_OPTIONS
# ALSA