bypass confirma with -y flag
This commit is contained in:
parent
b0fe4185f8
commit
04a240db95
@ -8,6 +8,8 @@ srcdir="../src"
|
|||||||
langlist=$(ls "$srcdir")
|
langlist=$(ls "$srcdir")
|
||||||
yamlfile="../src/en/settings.yaml"
|
yamlfile="../src/en/settings.yaml"
|
||||||
|
|
||||||
|
FORCE=$1
|
||||||
|
|
||||||
confirm() {
|
confirm() {
|
||||||
if [ "$FORCE" == '-y' ]; then
|
if [ "$FORCE" == '-y' ]; then
|
||||||
true
|
true
|
||||||
|
Loading…
Reference in New Issue
Block a user