This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
Re: [PATCH] winsup/doc/etc.postinstall.cygwin-doc.sh fix shell variable typo
- From: Eric Blake <eblake at redhat dot com>
- To: cygwin-patches at cygwin dot com
- Date: Wed, 20 Dec 2017 17:10:21 -0600
- Subject: Re: [PATCH] winsup/doc/etc.postinstall.cygwin-doc.sh fix shell variable typo
- Authentication-results: sourceware.org; auth=none
- References: <20171220230153.8512-1-Brian.Inglis@SystematicSW.ab.ca>
On 12/20/2017 05:01 PM, Brian Inglis wrote:
---
winsup/doc/etc.postinstall.cygwin-doc.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/winsup/doc/etc.postinstall.cygwin-doc.sh b/winsup/doc/etc.postinstall.cygwin-doc.sh
index 2873d9395..935bd94e1 100755
--- a/winsup/doc/etc.postinstall.cygwin-doc.sh
+++ b/winsup/doc/etc.postinstall.cygwin-doc.sh
@@ -52,7 +52,7 @@ fi
# create User Guide and API PDF and HTML shortcuts
while read target name desc
do
- [ -r $t ] && $mks $CYGWINFORALL -P -n "Cygwin/$name" -d "$desc" -- $target
+ [ -r $target ] && $mks $CYGWINFORALL -P -n "Cygwin/$name" -d "$desc" -- $target
Wrong. Needs to be [ -r "$target" ] to be properly quoted.
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org