diff options
author | Marcus Huewe <suse-tux@gmx.de> | 2014-10-06 08:37:31 +0200 |
---|---|---|
committer | Marcus Huewe <suse-tux@gmx.de> | 2014-10-06 08:37:31 +0200 |
commit | e2fe5e97b4a5cc51bbef6fa9d3875005d62c5306 (patch) | |
tree | b31264ce747496c27969c152ba4394f6930b9bc8 | |
parent | 7ed632036a7983915b2ba880516e0ba1c50732a9 (diff) |
vc: fixed chown call to support a user/group with whitespaces
This fixes https://github.com/openSUSE/osc/issues/118
-rwxr-xr-x | vc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -148,7 +148,7 @@ if [ -z "$message" ]; then fi fi mode=`stat -c "%a" "$changelog"` -user=`stat -c "%U:%G" "$changelog"` +user=`stat -c "%u:%g" "$changelog"` mv "$tmpfile" "$changelog" chmod $mode "$changelog" chown $user "$changelog" |