Skip to content

Commit

Permalink
Simplify script dir detection in pre_build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
voidcontext committed Mar 15, 2020
1 parent 00fd2c5 commit 16ca968
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/static-files/pre_build.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
DIR="$(dirname $0)"

echo "Destination dir: $DIR"

Expand Down

0 comments on commit 16ca968

Please sign in to comment.