The following patch will copy (recursively) all subdirs
when copying a selected configuration to the user's dir.
This is probably what is wanted for the new gmoccapy
configuration but may have unexpected consequences for
other configurations in the distribution.  Use at your own risk.

Candidate patch tested on git master rip build, should be tested
with a buildbot deb for packaging verification.

>From 9f02a311df0db52bc8144f9e253cfa1dc8195c8b Mon Sep 17 00:00:00 2001
From: Dewey Garrett <[email protected]>
Date: Thu, 28 Mar 2013 07:35:44 -0700
Subject: [PATCH] pickconfig: recursive copy of subdirs

---
 tcl/bin/pickconfig.tcl |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tcl/bin/pickconfig.tcl b/tcl/bin/pickconfig.tcl
index 4ac3ef8..65d12d5 100755
--- a/tcl/bin/pickconfig.tcl
+++ b/tcl/bin/pickconfig.tcl
@@ -472,7 +472,9 @@ proc prompt_copy configname {
             link      {file copy [file join $configdir \
                                  [file readlink $f]] $copydir}
             file      {file copy "$f" $copydir}
-            directory {}
+            directory {#recursive copy of subdirs
+                       file copy $f $copydir
+                      }
             default   {puts stderr \
                        "prompt_copy:unsupported type=[file type $f] for $f"}
           }
-- 
1.7.10.4

-- 
Dewey Garrett


------------------------------------------------------------------------------
Own the Future-Intel&reg; Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to