[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-hackers] [PATCH] Fix mingw interactive questioning during insta
From: |
Peter Bex |
Subject: |
[Chicken-hackers] [PATCH] Fix mingw interactive questioning during installation to a fresh location |
Date: |
Sat, 6 May 2017 16:21:44 +0200 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
Hi all,
I noticed that on Mingw without MSYS, if you install to a new location
where no previous installation of CHICKEN is, it will block on a question
like "Does \path\to\chicken\share\man\csi.mdoc.1 specify a file name or
directory name on the target (F = file, D = directory)?"
This doesn't happen when you overwrite a previous installation.
After some investigation it turns out that XCOPY has no way to suppress
this question when the target is a file. In typical Microsoft fashion,
XCOPY has a flag to tell it that the target is always a directory name,
but not a corresponding flag for the _other_ answer.
So instead, let's use COPY. I've tested, and it works when installing
to either a new location or a location where there already is a CHICKEN
installed.
This patch is only necessary on chicken-5; luckily, the commit that broke
this is not present in the master branch.
Cheers,
Peter
0001-Get-rid-of-interactive-prompts-during-install-on-min.patch
Description: Text Data
signature.asc
Description: Digital signature
- [Chicken-hackers] [PATCH] Fix mingw interactive questioning during installation to a fresh location,
Peter Bex <=