[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Incorrect path and shell script error
From: |
Edward Welbourne |
Subject: |
Re: Incorrect path and shell script error |
Date: |
Fri, 8 May 2020 07:18:36 +0000 |
Loch Brandon (7 May 2020 20:41) wrote:
> @if not exist $(OUTPUTDIR)\$(notdir $(OBJDIR)) $(MKDIR) $(OUTPUTDIR)\$(notdir
> $(OBJDIR))
> When running without the '@' this is the result:
> echo Verifying and building application directory structure...
> Verifying and building application directory structure...
> if not exist output mkdir output
>
> Then it hits the error.
Quoting the error message as text would be a kindness to the reader.
Not sure what's going wrong, but one thing that crosses my mind is that
\ is an escape character in make-files, so may be escaping the
$-expansion you were hoping for with $(notdir ...) - I believe the MS
command shell understands / as path separators also, so try replacing
each \ with a / in your commands and see if that helps.
Eddy.
- Windows shell discovery (was: Re: Incorrect path and shell script error), (continued)
- Windows shell discovery (was: Re: Incorrect path and shell script error), Paul Smith, 2020/05/07
- Re: Windows shell discovery (was: Re: Incorrect path and shell script error), Eli Zaretskii, 2020/05/07
- Re: Windows shell discovery (was: Re: Incorrect path and shell script error), Loch Brandon, 2020/05/07
- Re: Windows shell discovery (was: Re: Incorrect path and shell script error), Eli Zaretskii, 2020/05/08
- Re: Windows shell discovery (was: Re: Incorrect path and shell script error), Loch Brandon, 2020/05/08
- Re: Windows shell discovery (was: Re: Incorrect path and shell script error), Eli Zaretskii, 2020/05/08
- Re: Windows shell discovery (was: Re: Incorrect path and shell script error), Loch Brandon, 2020/05/08
- Re: Windows shell discovery (was: Re: Incorrect path and shell script error), Loch Brandon, 2020/05/08
- Re: Windows shell discovery (was: Re: Incorrect path and shell script error), Eli Zaretskii, 2020/05/08
- Re: Windows shell discovery (was: Re: Incorrect path and shell script error), Loch Brandon, 2020/05/08
- Re: Incorrect path and shell script error,
Edward Welbourne <=