Skip to content

Commit 68c019a

Browse files
committed
Add another pgdefine path check, and a cvs-git change.
1 parent e708871 commit 68c019a

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

src/tools/make_mkid

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
mkid `find \`pwd\`/ \( -name _deadcode -a -prune \) -o \
66
-type f -name '*.[chyl]' -print|sed 's;//;/;g'`
77

8-
find . -name 'CVS' -prune -o -type d -print |while read DIR
8+
find . \( -name .git -a -prune \) -o -type d -print |while read DIR
99
do
1010
[ "$DIR" != "." ] && ln -f -s `echo "$DIR" | sed 's;/[^/]*;/..;g'`/ID $DIR/ID
1111
done

src/tools/pginclude/pgcompinclude

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
# takes -v option to display compile failure message and line numbers
44
# src/tools/pginclude/pgcompinclude
55

6+
if ! pgdefine
7+
then echo "pgdefine must be in your PATH" 1>&2
8+
exit 1
9+
fi
10+
611
trap "rm -f /tmp/$$.c /tmp/$$.o /tmp/$$ /tmp/$$a" 0 1 2 3 15
712
find . \( -name .git -a -prune \) -o -name '*.h' -type f -print | while read FILE
813
do

src/tools/pginclude/pgrminclude

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ then echo "pgdefine must be in your PATH" 1>&2
66
exit 1
77
fi
88

9-
# src/tools/pginclude/pgrminclude
10-
119
trap "rm -f /tmp/$$.c /tmp/$$.o /tmp/$$ /tmp/$$a /tmp/$$b" 0 1 2 3 15
1210
# do include files first
1311
(find . \( -name .git -a -prune \) -o -type f -name '*.h' -print;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy