my website banner

fixed Windows copy command master
authorDavid Polakovic <email@dpolakovic.space>
Mon, 5 Feb 2024 10:05:24 +0000 (11:05 +0100)
committerDavid Polakovic <email@dpolakovic.space>
Mon, 5 Feb 2024 10:05:24 +0000 (11:05 +0100)
tti.pl

diff --git a/tti.pl b/tti.pl
index 6ea39a0eabf8af966094b3900a3083b8a0c2a8e1..4f2e06a05cc60320ce48e229700c92469fcb2195 100644 (file)
--- a/tti.pl
+++ b/tti.pl
@@ -20,7 +20,7 @@ my $new_filename = "processed_" . $filename;
 # copy the file
 if ($^O eq 'MSWin32' or $^O eq 'MSWin64') {
     # for Windows
-    system("cp", $filename, $new_filename);
+    system("copy", $filename, $new_filename);
 } else {
     # for every other system
     system("cp", $filename, $new_filename);