From 9ca078dfc86af9c50446bceb818af7b48ce7a73e Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 20 Jul 2023 15:15:40 -0300 Subject: Fix: better handling of paths with spaces --- commit-updates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'commit-updates') diff --git a/commit-updates b/commit-updates index 9fe77d7..1ebcece 100755 --- a/commit-updates +++ b/commit-updates @@ -28,7 +28,7 @@ if $GIT status &> /dev/null; then if [ ! -z "$ARGS" ]; then commit "Updates $ARGS" else - commit "Updates $(basename `pwd`)" + commit "Updates $(basename "`pwd`")" fi else mr commit -m "Updates" -- cgit v1.2.3