This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Problem with bash


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

Attachment: bashtest
Description: Binary data

Attachment: test.lst
Description: Text document

Attachment: cygcheck.out
Description: Binary data

--
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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]