KiCad / KicadOSXBuilder

Kicad OSX Builder, which I plan to use as my boxed development environment on Mac OSX
87 stars 27 forks source link

loader.sh breaks filenames with spaces #20

Open bstegmaier75 opened 10 years ago

bstegmaier75 commented 10 years ago

The current loader.sh used for all applications breaks calling them with filenames containing spaces. I.e., opening schematic/board/etc. files from within kicad application won't work.

Patch/Fix:

diff --git a/patches/loader.sh b/patches/loader.sh
index 67282db..fe8b4cb 100644
--- a/patches/loader.sh
+++ b/patches/loader.sh
@@ -17,4 +17,4 @@ export PYTHONPATH=$KICAD_APP/Contents/Frameworks/python2.7/site-packages/:$PYTHO

 export KICAD=$KICAD_DATA

-$DIR/`basename $0`.bin $*
+$DIR/`basename $0`.bin "$@"