[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-cvs: pcb.git: branch: master updated (16896c571df3105c72619d4b720e3edeb1792103)



The branch, master has been updated
       via  16896c571df3105c72619d4b720e3edeb1792103 (commit)
      from  26af64ecb8eef4ee42a653381f149549c52fb5e7 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


=========
 Summary
=========

 lib/m4lib_to_newlib.sh |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


=================
 Commit Messages
=================

commit 16896c571df3105c72619d4b720e3edeb1792103
Author: Dan McMahill <dan@xxxxxxxxxxxx>
Commit: Dan McMahill <dan@xxxxxxxxxxxx>

    Add some quoting to handle the case where there are spaces in some of the directory names.
    
    As noted by peque on irc, this script failed when the build directory was located
    somewhere that had a space in a directory name.  Adding the extra quotes fixes that.

:100644 100644 e609e33... ca491de... M	lib/m4lib_to_newlib.sh

=========
 Changes
=========

commit 16896c571df3105c72619d4b720e3edeb1792103
Author: Dan McMahill <dan@xxxxxxxxxxxx>
Commit: Dan McMahill <dan@xxxxxxxxxxxx>

    Add some quoting to handle the case where there are spaces in some of the directory names.
    
    As noted by peque on irc, this script failed when the build directory was located
    somewhere that had a space in a directory name.  Adding the extra quotes fixes that.

diff --git a/lib/m4lib_to_newlib.sh b/lib/m4lib_to_newlib.sh
index e609e33..ca491de 100644
--- a/lib/m4lib_to_newlib.sh
+++ b/lib/m4lib_to_newlib.sh
@@ -118,7 +118,7 @@ if test -d ${outd} ; then
 else
 	mkdir -p ${outd}
 fi
-outd_full=`cd $outd && pwd`
+outd_full="`cd $outd && pwd`"
 
 $AWK '
 
@@ -325,7 +325,7 @@ function finish_libind() {
 	}
 }
 
-' cmd_path=./ do_png=$do_png outd=$outd_full awk=$AWK PCB="${PCB}" $contents
+' cmd_path=./ do_png=$do_png outd="$outd_full" awk=$AWK PCB="${PCB}" $contents
 
 
 




_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs