diff options
author | Raghuram Subramani <raghus2247@gmail.com> | 2025-07-30 14:01:59 +0530 |
---|---|---|
committer | Raghuram Subramani <raghus2247@gmail.com> | 2025-07-30 14:01:59 +0530 |
commit | f57f335603a13c70168b1f46332a8827c32477b2 (patch) | |
tree | 06fe50976f3f72b3bcc063ec8f91156d6c08e003 /src/copy.c | |
parent | 9aba370924df4c471b8527f08d2c60cacb8989d9 (diff) |
msg: get output directory from getopt
Diffstat (limited to 'src/copy.c')
-rw-r--r-- | src/copy.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -42,7 +42,7 @@ copy_recursively(const char *fpath, const char *path = fpath + strlen(msg->base_directory) + 1; char *output_path = NULL; - asprintf(&output_path, "%s/%s", OUTPUT, path); + asprintf(&output_path, "%s/%s", msg->output_directory, path); if (typeflag == FTW_D) goto exit; |