codemod --extensions sh '#!/usr/bin/env bash -e' '#!/usr/bin/env bash\nset -e'

This commit is contained in:
Michael Vines
2018-11-11 08:19:04 -08:00
parent 33aab094ef
commit def7d156f6
55 changed files with 112 additions and 56 deletions

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash -ex
#!/usr/bin/env bash
set -ex
[[ $(uname) = Linux ]] || exit 1
[[ $USER = root ]] || exit 1

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash -ex
#!/usr/bin/env bash
set -ex
[[ $(uname) = Linux ]] || exit 1
[[ $USER = root ]] || exit 1

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash -ex
#!/usr/bin/env bash
set -ex
#
# Prevent background upgrades that block |apt-get|
#

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash -ex
#!/usr/bin/env bash
set -ex
[[ $(uname) = Linux ]] || exit 1
[[ $USER = root ]] || exit 1

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash -ex
#!/usr/bin/env bash
set -ex
#
# Install EarlyOOM
#

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash -ex
#!/usr/bin/env bash
set -ex
[[ $(uname) = Linux ]] || exit 1
[[ $USER = root ]] || exit 1

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash -ex
#!/usr/bin/env bash
set -ex
#
# Rsync setup for Snap builds
#

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash -ex
#!/usr/bin/env bash
set -ex
#
[[ $(uname) = Linux ]] || exit 1

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash -ex
#!/usr/bin/env bash
set -ex
#
# Some instances have docker running and docker0 network interface confuses
# gossip and airdrops fail. As a workaround for now simply remove the docker0

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash -ex
#!/usr/bin/env bash
set -ex
#
# Updates the default cuda symlink to the supported version
#