Compare commits

...

2 Commits

Author SHA1 Message Date
3wc 0d70f31fd8 chore: revert probable bogus commit? 2021-11-22 00:27:24 +02:00
3wc 48fcac3103 Make sure we're in the current directory first.. 2021-11-21 21:35:39 +02:00
1 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,9 @@
# 3wc: can't use $0 within `source`'d scripts
# https://unix.stackexchange.com/a/507165/465023
pushd "$( dirname "${BASH_SOURCE[0]}" )" > /dev/null || exit 1
git checkout .
envsubst < compose.yml > compose.yml.tmp && mv compose.yml.tmp compose.yml
popd > /dev/null || exit 1