optional jedit_build/etc/user-settings enable to override defaults produced by late component initialization;
authorwenzelm
Sat, 21 May 2011 11:31:59 +0200
changeset 42906 7438ee56b89a
parent 42905 4b127cc20aac
child 42907 dfd4ef8e73f6
child 42937 cabb3a947894
optional jedit_build/etc/user-settings enable to override defaults produced by late component initialization;
src/Tools/jEdit/jedit_build/Tools/jedit
--- a/src/Tools/jEdit/jedit_build/Tools/jedit	Sat May 21 00:09:18 2011 +0200
+++ b/src/Tools/jEdit/jedit_build/Tools/jedit	Sat May 21 11:31:59 2011 +0200
@@ -134,6 +134,8 @@
 
 set -o allexport
 init_component "$TARGET_DIR"
+[ -f "$ISABELLE_JEDIT_BUILD_HOME/etc/user-settings" ] && \
+  source "$ISABELLE_JEDIT_BUILD_HOME/etc/user-settings"
 set +o allexport
 
 exec "$TARGET_DIR/lib/Tools/jedit" "$@"