Skip to content

Commit c3923d1

Browse files
committed
same effect, more succinct
Thanks to @JoshCartwright
1 parent ac14a16 commit c3923d1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

bashttpd

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,5 @@ while read -r line; do
265265
REQUEST_HEADERS+=("$line")
266266
done
267267

268-
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
269-
source $DIR/bashttpd.conf
268+
source "${BASH_SOURCE[0]%/*}"/bashttpd.conf
270269
fail_with 500

0 commit comments

Comments
 (0)