From 21f396395b4508f6c961c9faa074ba3e0a3c3ebb Mon Sep 17 00:00:00 2001 From: UpDownUp Date: Sun, 8 Nov 2015 18:13:39 +0200 Subject: [PATCH] Fix to CLEmail-induced crash All credit goes to user JIghtuse who fixed the file from dap-c. https://github.com/JIghtuse/dap-c/commit/ee16e6688524da23ce9be0a2d1d352a0bb766412 --- assistants/crt/cpp.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/assistants/crt/cpp.yaml b/assistants/crt/cpp.yaml index c7880b5..4b02f9d 100644 --- a/assistants/crt/cpp.yaml +++ b/assistants/crt/cpp.yaml @@ -57,9 +57,9 @@ run: - $clname~: $(python -c 'import pwd,posix; print pwd.getpwuid(posix.getuid()).pw_gecos') - $clemail~: $(git config user.email) - if not $clemail: - - $clemail1~: $(id -un) - - $clemail2~: $(uname -n) - - $clemail~: "$clemail1@$clemail1" + - $user~: $(id -un) + - $host~: $(uname -n) + - $clemail~: $(echo "$user@$host") - cl: sed -i "s|Fri Mar 15 2013 UserName |$cldate $clname <$clemail>|" "$basename.spec" - use: git.init_add_commit.run - else: