aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/zfs-snapshot-mgmt
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2010-01-11 11:42:14 +0800
committerpgollucci <pgollucci@FreeBSD.org>2010-01-11 11:42:14 +0800
commit4c1cd666c238abddaf4db88732499dfb7e8969ea (patch)
tree5abe204883a0cad7a649a261707a1daf450afef2 /sysutils/zfs-snapshot-mgmt
parent120a5fd4f5912990d39d4b9906ed8e56cbe12303 (diff)
downloadfreebsd-ports-gnome-4c1cd666c238abddaf4db88732499dfb7e8969ea.tar.gz
freebsd-ports-gnome-4c1cd666c238abddaf4db88732499dfb7e8969ea.tar.zst
freebsd-ports-gnome-4c1cd666c238abddaf4db88732499dfb7e8969ea.zip
- Fix errors when dealing with the root data set
PR: prots/140811 Submitted by: Anonymous <swell.k@gmail.com> Approved by: maintainer timeout (1.5 months)
Diffstat (limited to 'sysutils/zfs-snapshot-mgmt')
-rw-r--r--sysutils/zfs-snapshot-mgmt/Makefile1
-rw-r--r--sysutils/zfs-snapshot-mgmt/files/patch-zfs-snapshot-mgmt14
2 files changed, 15 insertions, 0 deletions
diff --git a/sysutils/zfs-snapshot-mgmt/Makefile b/sysutils/zfs-snapshot-mgmt/Makefile
index 72dc6bcbb123..2649928d929f 100644
--- a/sysutils/zfs-snapshot-mgmt/Makefile
+++ b/sysutils/zfs-snapshot-mgmt/Makefile
@@ -7,6 +7,7 @@
PORTNAME= zfs-snapshot-mgmt
PORTVERSION= 20090201
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://marcin.studio4plus.com/files/
diff --git a/sysutils/zfs-snapshot-mgmt/files/patch-zfs-snapshot-mgmt b/sysutils/zfs-snapshot-mgmt/files/patch-zfs-snapshot-mgmt
new file mode 100644
index 000000000000..44406250f919
--- /dev/null
+++ b/sysutils/zfs-snapshot-mgmt/files/patch-zfs-snapshot-mgmt
@@ -0,0 +1,14 @@
+--- zfs-snapshot-mgmt~
++++ zfs-snapshot-mgmt
+@@ -154,7 +154,11 @@ class FSInfo
+ end
+
+ def pool
++ if name["/"]
+ name[/\A.*?\//].chop
++ else
++ name
++ end
+ end
+
+ private