tools/fshu.pm
changeset 15 6bb86f60191e
parent 3 859da167ccfe
child 21 7b569e2061c7
--- a/tools/fshu.pm	Thu Jul 29 12:02:58 2010 +1000
+++ b/tools/fshu.pm	Thu Jul 29 12:03:43 2010 +1000
@@ -124,6 +124,10 @@
       mkpath($dir) or die "Couldn't make path \"$dir\": $!\n";
     }
   }
+  if ($dir =~ /^\\epoc32/) {
+    # If it starts with \epoc32, chop the leading backslash and stick on $EPOCROOT
+    $dir =~ s/^\\/$ENV{EPOCROOT}/;
+  }
 }
 
 sub CopyFile {