summaryrefslogtreecommitdiff
path: root/cross/avrdude/patches/patch-ac
blob: 6da2f56840721b7e67e84457e7dc05467b7c1fe2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ac,v 1.4 2009/08/27 15:34:48 hasso Exp $

the builtin [ on at least solaris doesn't understand -e

--- doc/Makefile.am.orig	2009-03-06 21:09:08 +0100
+++ doc/Makefile.am
@@ -33,7 +33,7 @@ html: avrdude-html/avrdude.html
 
 avrdude-html/avrdude.html: $(srcdir)/$(info_TEXINFOS)
 	texi2html -split_node $(srcdir)/$(info_TEXINFOS)
-	if [ -e ./avrdude.html -o -e ./avrdude_1.html ]; then \
+	if [ -f ./avrdude.html -o -f ./avrdude_1.html ]; then \
 	 mkdir -p avrdude-html ; \
 	 mv -f *.html avrdude-html ; \
 	else \