File tree Expand file tree Collapse file tree 3 files changed +20
-1
lines changed Expand file tree Collapse file tree 3 files changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,14 @@ zrep: $(ZSOURCE)
8
8
{print}' zrep_top > $@
9
9
chmod 0755 $@
10
10
11
+
12
+ # detect is a test util to see if zfs feature detect works
13
+ detect : detect_test zrep_vars
14
+ nawk ' $$1 == "AWKinclude" {system ("cat "$$2);next;} \
15
+ {print}' detect_test > $@
16
+ chmod 0755 $@
17
+
18
+
11
19
save :
12
20
cp -p $(ZSOURCE ) Makefile SAVE
13
21
Original file line number Diff line number Diff line change
1
+ #! /bin/ksh -p
2
+
3
+ # For more detailed documentation, see zrep.txt or zrep.overview.txt
4
+ ZREP_VERSION=1.7.7
5
+
6
+ _ZREP_CHECKFILE=zfs-help.txt
7
+ echo hardcoding checkfile to $_ZREP_CHECKFILE
8
+
9
+ # ####### start of included files from zrep_top here
10
+ AWKinclude zrep_vars
Original file line number Diff line number Diff line change @@ -217,7 +217,8 @@ case `id` in
217
217
ZREP_RUNDIR=${ZREP_RUNDIR:-/tmp}
218
218
;;
219
219
esac
220
- zrep_checkfile=$ZREP_RUNDIR/zrep.check.$$
220
+ # allow override, for code test utility
221
+ zrep_checkfile=${_ZREP_CHECKFILE:-$ZREP_RUNDIR/zrep.check.$$}
221
222
222
223
223
224
zfs >$zrep_checkfile 2>&1
You can’t perform that action at this time.
0 commit comments