Skip to content

Commit

Permalink
Remove (empty) dt_errtags.c if mkerrtags.sh fails to generate it.
Browse files Browse the repository at this point in the history
Fixes GH-5.
  • Loading branch information
msabramo committed Feb 29, 2012
1 parent 30fc39c commit 83e3fe5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libdtrace/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ $(LIB): \
$(LIB)(stubs.o)

dt_errtags.c: dt_errtags.h mkerrtags.sh
mkerrtags.sh <dt_errtags.h > dt_errtags.c
mkerrtags.sh <dt_errtags.h > dt_errtags.c || ( rm dt_errtags.c && exit 1 )
dt_names.c: mknames.sh
mknames.sh <../../uts/common/sys/dtrace.h | sed -e 's/\\n/\n/g' > dt_names.c

Expand Down

0 comments on commit 83e3fe5

Please sign in to comment.