1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-13 23:36:10 +02:00

For both ln and install, when using `--backup=simple --suffix=S',

the suffix `S' wasn't used.

(main): Actually use the local variable, `backup_suffix_string'.
This commit is contained in:
Jim Meyering
2000-12-25 11:07:20 +00:00
parent 5688e294f7
commit f4795cc6b3

View File

@@ -273,8 +273,13 @@ main (int argc, char **argv)
error (1, 0,
_("the strip option may not be used when installing a directory"));
if (make_backups)
x.backup_type = xget_version ("backup type", version_control_string);
if (backup_suffix_string)
simple_backup_suffix = xstrdup (backup_suffix_string);
x.backup_type = (make_backups
? xget_version (_("backup type"),
version_control_string)
: none);
n_files = argc - optind;
file = argv + optind;