summaryrefslogtreecommitdiff
path: root/cross/avrdude/patches/patch-ac
blob: a0e73b4ee44d35f42a826ce49565f1d4cfcd0995 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ac,v 1.6 2013/12/06 07:27:15 mef Exp $

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

--- doc/Makefile.am.orig	2013-09-18 14:59:05.000000000 +0900
+++ doc/Makefile.am	2013-10-06 16:20:30.000000000 +0900
@@ -41,7 +41,7 @@ html: avrdude-html/avrdude.html
 
 avrdude-html/avrdude.html: $(srcdir)/$(info_TEXINFOS) $(GENERATED_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 \