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] |
Hi Cygwin ListI have a problem with the cd command in a ksh script. In the log below, there is this error: /make/scripts/webrev.ksh[2899]: cd: /cygdrive/z/DEV/OpenJDK_7u40/hotspot/Z:/DEV/OpenJDK_7u40/hotspo
t/make/windows/makefiles: No such file or directory and the snippet producing this error is # cd to the directory so the names are short echo "=============================1" CWW=$CWS DIR=$DIR VARRR=$CWS/$DIR echo "=============================2" VARR=$VARRR cd "$VARRR" echo "=============================3" $CWS/$DIRSo it seems that the cd command is prepending the target directory where to go(Z:/DEV/OpenJDK_7u40/hotspo t/make/windows/makefiles) by the current working directory (/cygdrive/z/DEV/OpenJDK_7u40/hotspot/)...
Is there a way to avoid this prefix so that the commad: cd Z:/DEV/OpenJDK_7u40/hotspot/make/windows/makefiles just prepend by the cygdrive prefix?
The execution log: ------------------------ $ ksh ./make/scripts/webrev.ksh -v ./make/scripts/webrev.ksh version: 23.18-hg+jbs SCM detected: mercurial Workspace: Z:/DEV/OpenJDK_7u40/hotspot Compare against: http://hg.openjdk.java.net/jdk7u/jdk7u40-dev/hotspot Output to: Z:/DEV/OpenJDK_7u40/hotspot/webrev Output Files:./make/scripts/webrev.ksh[2899]: cd: /cygdrive/z/DEV/OpenJDK_7u40/hotspot/Z:/DEV/OpenJDK_7u40/hotspo
t/make/windows/makefiles: No such file or directory abort: cannot follow file not in parent revision: "sa.make" make/windows/makefiles/sa.make=============================1 CWS=Z:/DEV/OpenJDK_7u40/hotspot DIR=make/windows/make
files=============================2 VARR=Z:/DEV/OpenJDK_7u40/hotspot/make/windows/makefiles ./make/scripts/webrev.ksh[2899]: cd: /cygdrive/z/DEV/OpenJDK_7u40/hotspot/Z:/DEV/OpenJDK_7u40/hotspo
t/make/windows/makefiles: No such file or directory =============================3 Z:/DEV/OpenJDK_7u40/hotspot/make/windows/makefiles *** Error: file not in parent or child./make/scripts/webrev.ksh[2899]: cd: /cygdrive/z/DEV/OpenJDK_7u40/hotspot/Z:/DEV/OpenJDK_7u40/hotspo
t/src/cpu/x86/vm: No such file or directoryabort: cannot follow file not in parent revision: "bytecodeInterpreter_x86.inline.hpp"
src/cpu/x86/vm/bytecodeInterpreter_x86.inline.hpp=============================1 CWW=Z:/DEV/OpenJDK_7u40/hotspot DIR=src/cpu/x86/vm
=============================2 VARR=Z:/DEV/OpenJDK_7u40/hotspot/src/cpu/x86/vm./make/scripts/webrev.ksh[2899]: cd: /cygdrive/z/DEV/OpenJDK_7u40/hotspot/Z:/DEV/OpenJDK_7u40/hotspo
t/src/cpu/x86/vm: No such file or directory =============================3 Z:/DEV/OpenJDK_7u40/hotspot/src/cpu/x86/vm *** Error: file not in parent or child $ mount C:/cygwin/bin on /usr/bin type ntfs (binary,auto) C:/cygwin/lib on /usr/lib type ntfs (binary,auto) C:/cygwin on / type ntfs (binary,auto) C: on /cygdrive/c type ntfs (binary,user,noumount,auto) E: on /cygdrive/e type ntfs (binary,user,noumount,auto) V: on /cygdrive/v type smbfs (binary,user,noumount,auto) Z: on /cygdrive/z type ntfs (binary,user,noumount,auto)
Attachment:
cygcheck.log
Description: Text document
-- 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] |