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