Project

General

Profile

Revision 89

[issues #129]
  • Fixed typo
  • Fixed logic used to get the path to the script (for include file reference) if script is called via a symbolic link

Light testing so far shows this to work well.

View differences:

trunk/email_updates.sh
42 42
    /etc/whyaskwhy.org/email_updates.conf
43 43

  
44 44
    # In the same directory as this script
45
    $(dirname $0)/email_updates.conf
45
    $(dirname $(readlink -e $0))/email_updates.conf
46 46
)
47 47

  
48 48
# Not a bad idea to run with this enabled for a while after big changes
......
133 133
#
134 134
# FIXME: Verify permissions first before importing file
135 135
#
136
for overrides_file in ${OVERRIDES_FILE[@]}
136
for overrides_file in ${OVERRIDES_FILES[@]}
137 137
do
138 138
    if [ -f ${overrides_file} ]; then
139 139
        . ${overrides_file}

Also available in: Unified diff