diff options
author | Marcus Hüwe <suse-tux@gmx.de> | 2009-05-17 20:32:42 +0000 |
---|---|---|
committer | Marcus Hüwe <suse-tux@gmx.de> | 2009-05-17 20:32:42 +0000 |
commit | 20e7f14bf3a0bd0405e3d55fc9030433b3ffab8b (patch) | |
tree | fd31aaaa224490d158895c9f72769d0c20ccf8eb /vc | |
parent | 1ad1dd272f1ab613d29eac17ee6b4f060b973dd9 (diff) |
- restore the original file mode. This should fix #503027 ("osc vc" (or rather "vc") changes file mode of .changes file)
Diffstat (limited to 'vc')
-rwxr-xr-x | vc | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -147,4 +147,6 @@ if [ -z "$message" ]; then exit 0 fi fi +mode=`stat -c "%a" "$changelog"` mv "$tmpfile" "$changelog" +chmod $mode "$changelog" |