Problem with bash

Volker Hohmann (priv.) v.Hohmann.Lapis@t-online.de
Tue Jun 30 11:06:00 GMT 2015


Hello,

the following script bashtest:

#!bash

    set -vx

# /**************************************************
# *    1. BUILD MKMAC
# ***************************************************/

    eval msdev=\"`cygpath -a "$MSDEV"`\"
 
# /**************************************************
# *    2. BUILD MKMAC
# ***************************************************/

    echo $msdev

startet with
 ./bashtest 
Results in


# /**************************************************
# *    1. BUILD MKMAC
# ***************************************************/

    eval msdev=\"`cygpath -a "$MSDEV"`\"
cygpath -a "$MSDEV"
++ cygpath -a 'c:\Program Files (x86)\Microsoft Visual Studio 12.0\VC'
+ eval 'msdev="/cygdrive/c/Program' Files '(x86)/Microsoft' Visual Studio
'12.0/VC"'
msdev="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 12.0/VC"
++ msdev='/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 12.0/VC'
************************************************
+ bashtest b~ cppclean.cmk cppclean.mak cppsetup.cmk def.h dircnv.cmk gen
gen.com genaix genhpux genlinux gennt.cmd gennt.nt genntb genntbash genntb~
genntgcc genos2.os2 gensco ifparser.cmk ifparser.h imakefile imakemdep.h
include.cmk mkdepend.cmk mkdepend.mak mkdepend.man mkdepend.orig mkmac.cmk
mkmac.mak parse.cmk pr.cmk test.lst xosdefs.h
./bashtest: line 12: bashtest: command not found
 2. BUILD MKMAC
+ 2. BUILD MKMAC
./bashtest: line 13: 2.: command not found
************************************************/
+ '************************************************/'
./bashtest: line 14: ************************************************/: No
such file or directory
  echo $msdev
+ echo /cygdrive/c/Program Files '(x86)/Microsoft' Visual Studio 12.0/VC
/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 12.0/VC

I have this problem at Windows 7 and Windows Server 2013 R2. What can I do
to avoid this?

Thanks
Volker

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bashtest
Type: application/octet-stream
Size: 349 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20150630/1ced0840/attachment.obj>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: test.lst
URL: <http://cygwin.com/pipermail/cygwin/attachments/20150630/1ced0840/attachment.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 30789 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20150630/1ced0840/attachment-0001.obj>
-------------- next part --------------
--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


More information about the Cygwin mailing list