On Mon, Dec 5, 2011 at 9:42 PM, Andrew Johnson <
[email protected] <mailto:
[email protected]>> wrote:
Hi Pavel,
On 2011-12-05 Pavel Masloff wrote:
>
> D:\>softIoc -h
> Usage: softIoc [-D softIoc.dbd] [-h] [-S] [-a ascf]
> [-m macro=value,macro2=value2] [-d file.db]
> [-x prefix] [st.cmd]
> Compiled-in path to softIoc.dbd is:
> 'D:\baseR3.14.12.1\new'/dbd/
softIoc.dbd
Forget my last message, the quotes are coming from this Makefile rule:
epicsInstallDir.h:
$(ECHO) "FINAL_LOCATION=$(FINAL_
LOCATION)"
$(PERL) ../makeInstallDir.pl '$(FINAL_LOCATION)' > $@
On Unix the shell strips out those single quotes, but evidently
yours is not
doing so (my win32-x86-mingw build does strip them, but not my win32-x86
build). You can add two lines to the
base/src/softIoc/
makeInstallDir.pl file
to fix this:
=== modified file 'src/softIoc/makeInstallDir.
pl'
--- src/softIoc/makeInstallDir.pl 2010-09-27 22:42:42 +0000
+++ src/softIoc/makeInstallDir.pl 2011-12-05 18:33:24 +0000
@@ -14,6 +14,8 @@
my $path = shift;
$path =~ s/\\/\\\\/gx;
+$path =~ s/^'//x;
+$path =~ s/'$//x;
print "/* THIS IS A GENERATED FILE. DO NOT EDIT! */\n",
"\n",
I will add this change to the 3.14.12.2 release of Base.
HTH,
- Andrew
--
Optimization is the process of taking something that works and
replacing it with something that almost works, but costs less.
-- Roger Needham
--
Sincerely,
Pavel Maslov, MSc
R&D Institute for Electro-Physical Apparatus
Mobile: +7 (951) 672 22 19
Phone: +7 (812) 461 01 01