]> git.vomp.tv Git - vompclient-marten.git/commitdiff
Fix for moving recordings
authorChris Tallon <chris@vomp.tv>
Wed, 2 Apr 2008 17:22:19 +0000 (17:22 +0000)
committerChris Tallon <chris@vomp.tv>
Wed, 2 Apr 2008 17:22:19 +0000 (17:22 +0000)
GNUmakefile
recman.cc

index 0708de159f100fdc441315377d3cb1b4283ced88..11c6f9480fe81088d1df405715be5189f546148e 100644 (file)
@@ -46,8 +46,8 @@ install-wmp:
        cp vompclient /diskless/nfs/wmvp
 
 install-dev:
-       rm -f /mnt/diskless/nfs/mvp-dev/vompclient
-       cp vompclient /mnt/diskless/nfs/mvp-dev
+       rm -f /mnt/auto/defiant/diskless/nfs/mvp-dev/vompclient
+       cp vompclient /mnt/auto/defiant/diskless/nfs/mvp-dev
 
 debug:
        ../../gdb/gdb-6.7/gdb/gdb /diskless/nfs/mvp/vompclient /diskless/nfs/mvp/core.*
index b70910120cc8f80b24eaad84f7965be23663b2ce..a73bb88fdf71d3e1945a9100281dbca616d741d9 100644 (file)
--- a/recman.cc
+++ b/recman.cc
@@ -154,14 +154,14 @@ void RecMan::constructPath(char* target, Directory* dir)
   {
     constructPath(target, dir->parent);
     strcat(target, dir->name);
-    strcat(target, "/");
+    strcat(target, "~");
   }
 }
 
 int RecMan::moveRecording(Recording* toMove, Directory* toDir)
 {
   char newPath[PATH_MAX];
-  strcpy(newPath, "/");
+  strcpy(newPath, "~");
   constructPath(&newPath[1], toDir);
   int success = 0;