Changeset 260


Ignore:
Timestamp:
Mar 17, 2016, 6:35:29 PM (7 years ago)
Author:
alloc
Message:

v96 fix for hooks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/usr/local/lib/7dtd/common.sh

    r259 r260  
    234234getHooksFor() {
    235235        if [ -n $2 ]; then
    236                 if [ -d $SDTD_BASE/$(getInstancePath $2)/hooks/$1 ]; then
     236                if [ -d $(getInstancePath $2)/hooks/$1 ]; then
    237237                        local H
    238                         for H in $SDTD_BASE/$(getInstancePath $2)/hooks/$1/*.sh; do
     238                        for H in $(getInstancePath $2)/hooks/$1/*.sh; do
    239239                                echo "$H"
    240240                        done
Note: See TracChangeset for help on using the changeset viewer.