Skip to content
Snippets Groups Projects
Unverified Commit 98be5a62 authored by boklm's avatar boklm
Browse files

Bug 40042: Stop using `touch_arg` in `touch`

Instead we expect the argument to follow on the same line.
parent a91d4653
Branches
Tags
No related merge requests found
......@@ -52,5 +52,4 @@ num_procs::
touch::
This option can be used to set the mtime of files to +timestamp+.
It takes a +touch_args+ argument which is the intended file to
touch.
It expects the file to touch as as argument following on the same line.
......@@ -475,13 +475,7 @@ ZIP_END
####
####
####
touch => <<TOUCH_END,
[% USE date -%]
touch -m -t [% date.format(c('timestamp'), format = '%Y%m%d%H%M') %] [% c('touch_args', { error_if_undef => 1 }) %]
TOUCH_END
####
####
####
touch => "[% USE date %]touch -m -t [% date.format(c('timestamp'), format = '%Y%m%d%H%M') %]",
arch => \&get_arch,
input_files_by_name => sub { RBM::input_files('getfnames', @_); },
input_files_id => sub { RBM::input_files('input_files_id', @_); },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment