Hey,

I just got started with EMC and I must say great work. I have only hooked up a single axis servo system with it so far but hope to use it to run the plasma table I'm building. I did find a minor bug when creating a desktop link if the config directory contains a space. Minor but hope it's the first of many contributions I can make. Still new to git so forgive me if I didn't do this patch correctly.
>From fdc092251cca98d4e8efe668b1ee804f032737a4 Mon Sep 17 00:00:00 2001
From: Cliff Blackburn <[email protected]>
Date: Tue, 15 Dec 2009 00:01:00 -0800
Subject: [PATCH] fixed desktop links failing to load if config dir contains spaces

---
 scripts/emcmkdesktop.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/emcmkdesktop.in b/scripts/emcmkdesktop.in
index 65dc8f2..5a7b03c 100644
--- a/scripts/emcmkdesktop.in
+++ b/scripts/emcmkdesktop.in
@@ -11,7 +11,7 @@ fi
 cat <<EOF
 [Desktop Entry]
 Name=$2
-Exec=$EMC $1
+Exec=$EMC '$1'
 Type=Application
 Comment=$3
 Icon=/etc/emc2/emc2icon.png
-- 
1.5.4.3

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to