aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-07-12 09:35:42 -0300
committerEuAndreh <eu@euandre.org>2023-07-12 09:35:42 -0300
commite4637c6a9f38b5c77a0522f6262adbfaccf9a11a (patch)
tree4c63396632e0709afd164e858f96e55eeffa53d0 /bin
parentbin/gc: Allow word splitting (ShellCheck offense) (diff)
downloaddotfiles-e4637c6a9f38b5c77a0522f6262adbfaccf9a11a.tar.gz
dotfiles-e4637c6a9f38b5c77a0522f6262adbfaccf9a11a.tar.xz
bin/gc: Add missing attribution to $CMD
Diffstat (limited to 'bin')
-rwxr-xr-xbin/gc1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/gc b/bin/gc
index c7c0334..ccc3d96 100755
--- a/bin/gc
+++ b/bin/gc
@@ -164,6 +164,7 @@ done
BEFORE="$(disk)"
for type in "$@"; do
+ CMD=gc_"$type"
set -x
"$CMD"
{ set +x; } 2>/dev/null