Skip to content

Commit fadbf4e

Browse files
committed
Adjusted HOTFIXES_DIR to read in any environment value first, with fallback to
`/hotfixes` as suggested by @rasmunk. It still also supports override through the optional first command-line argument.
1 parent 1e902d0 commit fadbf4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apply-hotfixes.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Apply all hot-fixes in specified folder
44

55
APPLIED_DIR="/tmp/hotfixes-applied"
6-
HOTFIXES_DIR="/hotfixes"
6+
HOTFIXES_DIR="${HOTFIXES_DIR:-/hotfixes}"
77
if [ $# -gt 0 ]; then
88
HOTFIXES_DIR="$1"
99
fi

0 commit comments

Comments
 (0)