ports/sysutils/zfsnap/files/patch-zfSnap.sh
Eugene Grosbein f3f34c580c sysutils/zfsnap: fix -s/-S mode.
Move creation of files from "do-patch" to "post-extract" target,
so that patches from files/ directory get applied.

While here, add LICENSE.

PR:		223951
Submitted by:	Anton Sayetsky <vsasjason@gmail.com> (based on)
Approved by:	yamagi@yamagi.org (maintainer timeout, 7 weeks)
2018-01-22 17:05:49 +00:00

11 lines
279 B
Bash

--- zfSnap.sh.orig 2013-01-18 03:37:09.000000000 +0700
+++ zfSnap.sh 2018-01-22 23:20:20.257104000 +0700
@@ -199,6 +199,8 @@ rm_zfs_snapshot() {
}
skip_pool() {
+ local i
+
# more like skip pool???
if is_true $scrub_skip; then
for i in $scrub_pools; do