From 949b06f1f9b44c960516537595e7dfaa1e435cf6 Mon Sep 17 00:00:00 2001 From: ER Date: Sun, 27 Aug 2023 16:48:19 +0300 Subject: [PATCH] fix: remove trailing newline from $ITEM using a clever bash-ism --- modules/bling/bling.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/bling/bling.sh b/modules/bling/bling.sh index 99ee0071fc..6888a4a3ec 100644 --- a/modules/bling/bling.sh +++ b/modules/bling/bling.sh @@ -13,5 +13,5 @@ find "$PWD" -type f -exec chmod +x {} \; for ITEM in "${INSTALL[@]}"; do echo "Pulling from bling: $ITEM" - eval "$PWD/$ITEM".sh + eval "$PWD/${ITEM%$'\n'}.sh" done \ No newline at end of file