tools/fshu.pm
changeset 3 859da167ccfe
parent 0 7f656887cf89
child 21 7b569e2061c7
--- a/tools/fshu.pm	Fri Jun 25 13:06:42 2010 +0100
+++ b/tools/fshu.pm	Sun Jul 04 15:58:56 2010 +0100
@@ -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 {