pastebin - collaborative debugging tool
rovema.kpaste.net RSS


msnfs41client: Patch to make installdest64 work without 32bit ksh93, 2025-10-26
Posted by Anonymous on Sun 26th Oct 2025 01:25
raw | new post

  1. From 7014b447088ba8f810ca49b47e8c9575ca18781c Mon Sep 17 00:00:00 2001
  2. From: Lionel Cons <lionelcons1972@gmail.com>
  3. Date: Sun, 26 Oct 2025 02:16:05 +0200
  4. Subject: [PATCH] cygwin: make installdest64 should work without 32bit Cygwin
  5.  ksh93
  6.  
  7. make installdest64 should work without 32bit Cygwin ksh93
  8.  
  9. Signed-off-by: Roland Mainz <roland.mainz@nrubsig.org>
  10. ---
  11. cygwin/Makefile.install | 4 ++--
  12.  1 file changed, 2 insertions(+), 2 deletions(-)
  13.  
  14. diff --git a/cygwin/Makefile.install b/cygwin/Makefile.install
  15. index 1619e03..fa391ee 100644
  16. --- a/cygwin/Makefile.install
  17. +++ b/cygwin/Makefile.install
  18. @@ -167,11 +167,11 @@ installdest:
  19.         cp $(PROJECT_BASEDIR_DIR)/tests/wintartests/wintartest_comparewinvsgnu001.bash $(DESTDIR)/usr/share/msnfs41client/tests/misc/wintartest_comparewinvsgnu001.bash
  20.         cp $(PROJECT_BASEDIR_DIR)/tests/wintartests/wintartest_seq001.bash $(DESTDIR)/usr/share/msnfs41client/tests/misc/wintartest_seq001.bash
  21.         @ printf "# Package ksh93&co (if available) since Cygwin does not ship with it yet\n"
  22. -       if [[ -d '$(DESTDIR)/lib/msnfs41client/x64/' ]] ; then \
  23. +       if [[ -x '$(DESTDIR)/lib/msnfs41client/i686/nfsd.exe' ]] ; then \
  24.                 [[ -x '/cygdrive/c/cygwin/bin/ksh93.exe' ]] && cp '/cygdrive/c/cygwin/bin/ksh93.exe' '$(DESTDIR)/lib/msnfs41client/i686/ksh93.i686.exe' ; \
  25.                 [[ -x '/cygdrive/c/cygwin/bin/shcomp.exe' ]] && cp '/cygdrive/c/cygwin/bin/shcomp.exe' '$(DESTDIR)/lib/msnfs41client/i686/shcomp.i686.exe' ; \
  26.         fi
  27. -       if [[ -d '$(DESTDIR)/lib/msnfs41client/x64/' ]] ; then \
  28. +       if [[ -x '$(DESTDIR)/lib/msnfs41client/x64/nfsd.exe' || -x '$(DESTDIR)/lib/msnfs41client/arm64/nfsd.exe' ]] ; then \
  29.                 [[ -x '/cygdrive/c/cygwin64/bin/ksh93.exe' ]] && cp '/cygdrive/c/cygwin64/bin/ksh93.exe' '$(DESTDIR)/lib/msnfs41client/x64/ksh93.x86_64.exe' ; \
  30.                 [[ -x '/cygdrive/c/cygwin64/bin/shcomp.exe' ]] && cp '/cygdrive/c/cygwin64/bin/shcomp.exe' '$(DESTDIR)/lib/msnfs41client/x64/shcomp.x86_64.exe' ; \
  31.         fi
  32. --
  33. 2.45.1

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at