100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
|
@echo '' >>mtt.sh
@echo 'mtt_config_file=$(CONFDIR)/mtt.conf' >>mtt.sh
@echo 'mtt_program_dir=$(PROGDIR)' >>mtt.sh
@echo 'mtt_install_dir=$(INSTDIR)' >>mtt.sh
@echo '' >>mtt.sh
@echo '# get site-specific settings' >>mtt.sh
@echo 'if [[ -r $${mtt_config_file} ]]; then' >>mtt.sh
@echo ' . $${mtt_config_file} $${mtt_install_dir}' >>mtt.sh
@echo '' >>mtt.sh
@echo 'elif [[ -r $${mtt_install_dir}/bin/mttrc ]]; then' >>mtt.sh
@echo ' . $${mtt_install_dir}/bin/mttrc $${mtt_install_dir}' >>mtt.sh
@echo 'fi' >>mtt.sh
@echo '' >>mtt.sh
@echo '# get user-specific settings' >>mtt.sh
@echo 'if [[ -r $${HOME}/.mttrc ]]; then' >>mtt.sh
|
|
|
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
|
@echo '' >>mtt.sh
@echo 'mtt_config_file=$(CONFDIR)/mtt.conf' >>mtt.sh
@echo 'mtt_program_dir=$(PROGDIR)' >>mtt.sh
@echo 'mtt_install_dir=$(INSTDIR)' >>mtt.sh
@echo '' >>mtt.sh
@echo '# get site-specific settings' >>mtt.sh
@echo 'if [[ -r $${mtt_config_file} ]]; then' >>mtt.sh
@echo ' . $${mtt_config_file} $${mtt_install_dir} >/dev/null' >>mtt.sh
@echo '' >>mtt.sh
@echo 'elif [[ -r $${mtt_install_dir}/bin/mttrc ]]; then' >>mtt.sh
@echo ' . $${mtt_install_dir}/bin/mttrc $${mtt_install_dir}' >>mtt.sh
@echo 'fi' >>mtt.sh
@echo '' >>mtt.sh
@echo '# get user-specific settings' >>mtt.sh
@echo 'if [[ -r $${HOME}/.mttrc ]]; then' >>mtt.sh
|