Use strict mode in bash scripts
This commit is contained in:
parent
69457a9603
commit
1443bb6cbd
2 changed files with 6 additions and 0 deletions
|
|
@ -1,5 +1,8 @@
|
||||||
#! /usr/bin/bash
|
#! /usr/bin/bash
|
||||||
|
|
||||||
|
set -euo pipefail
|
||||||
|
IFS=$'\n\t'
|
||||||
|
|
||||||
DEB_PKGS=(
|
DEB_PKGS=(
|
||||||
# keep-sorted start
|
# keep-sorted start
|
||||||
age
|
age
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,7 @@
|
||||||
#! /usr/bin/bash
|
#! /usr/bin/bash
|
||||||
|
|
||||||
|
set -euo pipefail
|
||||||
|
IFS=$'\n\t'
|
||||||
|
|
||||||
source /home/ohad/.profile
|
source /home/ohad/.profile
|
||||||
exec /usr/bin/sway
|
exec /usr/bin/sway
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue