mirror of
https://github.com/RubyMetric/chsrc
synced 2025-10-09 21:33:23 +08:00
No newline when backup
This commit is contained in:
@@ -703,8 +703,8 @@ chsrc_backup (const char *path)
|
||||
cmd = xy_strjoin (5, "cp ", path, " ", path, ".bak --backup='t'");
|
||||
}
|
||||
|
||||
chsrc_run (cmd, RunOpt_Default);
|
||||
chsrc_note_remarkably (xy_strjoin (3, "备份文件名 ", path, ".bak"));
|
||||
chsrc_run (cmd, RunOpt_No_Last_New_Line);
|
||||
chsrc_note_remarkably (xy_strjoin (3, "备份文件名为 ", path, ".bak"));
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user