diff options
-rwxr-xr-x | support/scripts/website-build | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/support/scripts/website-build b/support/scripts/website-build index e11b716477..af45faaa88 100755 --- a/support/scripts/website-build +++ b/support/scripts/website-build @@ -4,7 +4,8 @@ ############################################################################## # $Id$ -source $0.sh; -${0##*/} "$@"; +program="${0##*/}"; +source "${0%/*}/${program%%-*}.sh"; +"$program" "$@"; ############################################################################## |