aboutsummaryrefslogtreecommitdiff
path: root/commit-updates
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2023-07-20 15:15:40 -0300
committerSilvio Rhatto <rhatto@riseup.net>2023-07-20 15:15:40 -0300
commit9ca078dfc86af9c50446bceb818af7b48ce7a73e (patch)
treec35101d81d5a866db0ef198f09ee4a7567bd4ec5 /commit-updates
parent690975594fa4003011dedf26d2356d47bae4942e (diff)
downloadutils-git-9ca078dfc86af9c50446bceb818af7b48ce7a73e.tar.gz
utils-git-9ca078dfc86af9c50446bceb818af7b48ce7a73e.tar.bz2
Fix: better handling of paths with spaces
Diffstat (limited to 'commit-updates')
-rwxr-xr-xcommit-updates2
1 files changed, 1 insertions, 1 deletions
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"