From 2a52e556a604ff0f89b00209ce9c4f581b14dc2d Mon Sep 17 00:00:00 2001 From: dweller Date: Mon, 18 Mar 2024 05:12:34 +0200 Subject: shellcheck --- git-shell-commands/mkrepo | 2 +- git-shell-commands/setdesc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/git-shell-commands/mkrepo b/git-shell-commands/mkrepo index 94c3912..ecadb00 100755 --- a/git-shell-commands/mkrepo +++ b/git-shell-commands/mkrepo @@ -13,7 +13,7 @@ set -e PREFIX="$HOME/repos" if [ $# -lt 1 ]; then - echo "Usage: $(basename $0) [description]" + echo "Usage: $(basename "$0") [description]" exit 1; fi diff --git a/git-shell-commands/setdesc b/git-shell-commands/setdesc index 651b170..341097b 100755 --- a/git-shell-commands/setdesc +++ b/git-shell-commands/setdesc @@ -13,7 +13,7 @@ set -e PREFIX="$HOME/repos" if [ $# -lt 2 ]; then - echo "Usage: $(basename $0) " + echo "Usage: $(basename "$0") " exit 1; fi -- cgit v1.2.3