diff options
Diffstat (limited to 'remake.c')
-rw-r--r-- | remake.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1113,6 +1113,10 @@ touch_file (struct file *file) if (!silent_flag) message (0, "touch %s", file->name); + /* Print-only (-n) takes precedence over touch (-t). */ + if (just_print_flag) + return 0; + #ifndef NO_ARCHIVES if (ar_name (file->name)) return ar_touch (file->name); |