summaryrefslogtreecommitdiff
path: root/shell-scripts
diff options
context:
space:
mode:
authorMike Vink <mike.vink@stater.nl>2023-05-01 17:41:22 +0200
committerMike Vink <mike.vink@stater.nl>2023-05-01 17:41:22 +0200
commit007da4c519aaf640811d96b546e144722e6e398b (patch)
tree4c6c84342259c2ab0d1994bd42813f3d07ee297e /shell-scripts
parent66c69c98bbf01ca202cb29ace8f9654d1f2e5c1a (diff)
small fixes
Diffstat (limited to 'shell-scripts')
-rw-r--r--shell-scripts/checkout2
-rwxr-xr-xshell-scripts/compile1
-rwxr-xr-xshell-scripts/filter-ansi2
3 files changed, 3 insertions, 2 deletions
diff --git a/shell-scripts/checkout b/shell-scripts/checkout
index 85c8b3f..91f450a 100644
--- a/shell-scripts/checkout
+++ b/shell-scripts/checkout
@@ -4,7 +4,7 @@ error () {
exit 1
}
-eval "$(pass show personal/shell-scripts/secrets)"
+eval "$(pass show work/shell-scripts/secrets)"
DEST_DIR=""
case "${@}" in
az|"az "*)
diff --git a/shell-scripts/compile b/shell-scripts/compile
index 59c4d60..90110bb 100755
--- a/shell-scripts/compile
+++ b/shell-scripts/compile
@@ -24,6 +24,7 @@ case "${@}" in
;;
awx*)
echo " \-> awx"
+ shift
awx "$@" | filter-ansi
;;
helm\ lint*)
diff --git a/shell-scripts/filter-ansi b/shell-scripts/filter-ansi
index da77abf..369f9fd 100755
--- a/shell-scripts/filter-ansi
+++ b/shell-scripts/filter-ansi
@@ -1,2 +1,2 @@
# #!@bash@/bin/bash
-cat - | sed -u -E -e 's/\x1b\[[0-9;]*[mGKHF]|\r//g'
+cat -u - | sed -u -E -e 's/\x1b\[[0-9;]*[mGKHF]|\r//g'