[wiki] [sites] There's no need to run two separate commands - user POSIX shell parameter expansion instead. || Raf Czlonka
commit d5ee3769f8a0542eb2c788ce9b75cc168bb71a85
Author: Raf Czlonka <rczlonka_AT_gmail.com>
Date: Tue Mar 6 03:32:10 2018 +0000
There's no need to run two separate commands - user POSIX shell parameter expansion instead.
Fix missing leading and trailing square brackets while there.
diff --git a/suckless.org/community.md b/suckless.org/community.md
index 29407845..fdbada5a 100644
--- a/suckless.org/community.md
+++ b/suckless.org/community.md
_AT_@ -55,7 +55,7 @@ following addresses to perform the described action.
When sending a patch use the following commands:
cd $project
- git send-email --subject-prefix="$(basename $(pwd))][PATCH" \
+ git send-email --subject-prefix="[${PWD##*/}][PATCH]" \
--to hackers_AT_suckless.org -1
This will send the last commit of the repository to the mailing list adding a
Received on Tue Mar 06 2018 - 04:37:38 CET
This archive was generated by hypermail 2.3.0
: Tue Mar 06 2018 - 04:48:23 CET