diff options
author | Bastian Wissler | 2008-06-05 18:47:10 +0200 |
---|---|---|
committer | Bastian Wissler | 2008-06-05 18:47:10 +0200 |
commit | 9a7a41dea664d9aa460e8ef1877df58cb82850a0 (patch) | |
tree | 8c30fc132920cdb9768c38bb1126993a815256e2 | |
parent | BugFix (diff) | |
download | vmchooser-9a7a41dea664d9aa460e8ef1877df58cb82850a0.tar.gz vmchooser-9a7a41dea664d9aa460e8ef1877df58cb82850a0.tar.xz vmchooser-9a7a41dea664d9aa460e8ef1877df58cb82850a0.zip |
Changes on printer.sh /scanner.sh (very RZ-specific)
git-svn-id: http://svn.openslx.org/svn/openslx/openslx-src-tools/trunk/os-plugins/plugins/vmchooser@1848 95ad53e4-c205-0410-b2fa-d234c58c8868
-rw-r--r-- | vmchooser/runImage.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/vmchooser/runImage.cxx b/vmchooser/runImage.cxx index 0a57736..613c1da 100644 --- a/vmchooser/runImage.cxx +++ b/vmchooser/runImage.cxx @@ -117,7 +117,9 @@ const char* writeConfXml(DataEntry& dat) { const int MAX_LENGTH = 300; - char* pname = getFolderName(); + //char* pname = getFolderName(); + char pname[MAX_LENGTH]; + strcpy(pname,"/var/lib/vmware/runscripts"); xmlNodePtr cur = 0; xmlNodePtr root = 0; @@ -142,7 +144,8 @@ const char* writeConfXml(DataEntry& dat) { // add "printers" and "scanners" - XML-Nodes addPrinters(root, pname); - pname = getFolderName(); + //char* pname = getFolderName(); + strcpy(pname,"/var/lib/vmware/runscripts"); strncat(pname, "/scanner.sh", MAX_LENGTH); addScanners(root, pname); |