summaryrefslogtreecommitdiff
path: root/cross/avrdude/patches/patch-ac
blob: ce82071353e445bb1d89171de1808052c20951a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ac,v 1.3 2007/09/28 21:11:49 dmcmahill Exp $

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

--- doc/Makefile.am.orig	2005-09-26 07:38:24.000000000 -0400
+++ doc/Makefile.am	2007-09-28 07:13:20.202430000 -0400
@@ -34,5 +34,5 @@
 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 ; \