summaryrefslogtreecommitdiffstats
path: root/packaging/macos/020-vars.sh
diff options
context:
space:
mode:
authorRené de Hesselle <dehesselle@web.de>2019-09-12 20:46:20 +0000
committerRené de Hesselle <dehesselle@web.de>2019-09-12 21:08:52 +0000
commit0a66d4736997ee2ca4c4b1687bfdc090bc3cd600 (patch)
treefefcb442b25fbfd9a6ee9b0417e4e71301019172 /packaging/macos/020-vars.sh
parentAdd more Adam Bellis icons to multicolor beta (diff)
downloadinkscape-0a66d4736997ee2ca4c4b1687bfdc090bc3cd600.tar.gz
inkscape-0a66d4736997ee2ca4c4b1687bfdc090bc3cd600.zip
Remove dependency on user's .profile
We no longer need to overwrite .profile with our settings.
Diffstat (limited to 'packaging/macos/020-vars.sh')
-rw-r--r--packaging/macos/020-vars.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/packaging/macos/020-vars.sh b/packaging/macos/020-vars.sh
index fe11e6c55..df8dc2e84 100644
--- a/packaging/macos/020-vars.sh
+++ b/packaging/macos/020-vars.sh
@@ -11,13 +11,6 @@
[ -z $VARS_INCLUDED ] && VARS_INCLUDED=true || return # include guard
-### source .profile ############################################################
-
-# This is necessary on the first run and after changing directory settings.
-# So, we're better safe than sorry and source it.
-
-[ -f $HOME/.profile ] && source $HOME/.profile
-
### name and directory #########################################################
SELF_NAME=$(basename $0)
@@ -166,3 +159,10 @@ PYTHON_PYGOBJECT=PyGObject==3.32.2
PYTHON_SCOUR=scour==0.37
PYTHON_PYSERIAL=pyserial==3.4
+### profile ####################################################################
+
+# Settings that would otherwise go into '.profile'.
+
+export PATH=$DEVPREFIX/bin:$BIN_DIR:/usr/bin:/bin:/usr/sbin:/sbin
+export LANG=de_DE.UTF-8 # jhbuild complains otherwise FIXME hard-coded value
+