From a1d6e7b50d76ff1c49365cf6b5c2b6011615507a Mon Sep 17 00:00:00 2001 From: Bike Dude Date: Fri, 9 Jul 2021 15:39:03 +0200 Subject: [PATCH 1/5] posix --- usr/local/share/bastille/list.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/local/share/bastille/list.sh b/usr/local/share/bastille/list.sh index 5bab0486..a5058235 100644 --- a/usr/local/share/bastille/list.sh +++ b/usr/local/share/bastille/list.sh @@ -158,7 +158,7 @@ if [ $# -gt 0 ]; then rctl -h jail: ;; import|imports|export|exports|backup|backups) - ls "${bastille_backupsdir}" | grep -Ev "*.sha256" + ls "${bastille_backupsdir}" | grep -Ev "*.sha256$" exit 0 ;; *) From 140f02e140717bab54272ec003b9201c04a7ac2e Mon Sep 17 00:00:00 2001 From: Bike Dude Date: Fri, 9 Jul 2021 18:04:28 +0200 Subject: [PATCH 2/5] fix --- usr/local/share/bastille/list.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/local/share/bastille/list.sh b/usr/local/share/bastille/list.sh index a5058235..1965fd10 100644 --- a/usr/local/share/bastille/list.sh +++ b/usr/local/share/bastille/list.sh @@ -158,7 +158,7 @@ if [ $# -gt 0 ]; then rctl -h jail: ;; import|imports|export|exports|backup|backups) - ls "${bastille_backupsdir}" | grep -Ev "*.sha256$" + ls "${bastille_backupsdir}" | grep -Ev '*.sha256$' exit 0 ;; *) From 778b82949ab14bf7379b5e1df1819e6f8b72a941 Mon Sep 17 00:00:00 2001 From: Bike Dude Date: Fri, 9 Jul 2021 22:32:09 +0200 Subject: [PATCH 3/5] posix --- usr/local/share/bastille/list.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/local/share/bastille/list.sh b/usr/local/share/bastille/list.sh index 1965fd10..5366d1fd 100644 --- a/usr/local/share/bastille/list.sh +++ b/usr/local/share/bastille/list.sh @@ -158,7 +158,7 @@ if [ $# -gt 0 ]; then rctl -h jail: ;; import|imports|export|exports|backup|backups) - ls "${bastille_backupsdir}" | grep -Ev '*.sha256$' + ls "${bastille_backupsdir}" | grep .sha256$ exit 0 ;; *) From 1b319c9bb997ba560e5d3b0bfd94ec6a959c3a4c Mon Sep 17 00:00:00 2001 From: Bike Dude Date: Sun, 11 Jul 2021 10:46:21 +0200 Subject: [PATCH 4/5] posix --- usr/local/share/bastille/list.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/local/share/bastille/list.sh b/usr/local/share/bastille/list.sh index 5366d1fd..439840a1 100644 --- a/usr/local/share/bastille/list.sh +++ b/usr/local/share/bastille/list.sh @@ -158,7 +158,7 @@ if [ $# -gt 0 ]; then rctl -h jail: ;; import|imports|export|exports|backup|backups) - ls "${bastille_backupsdir}" | grep .sha256$ + ls "${bastille_backupsdir}" | grep "*.*sha256$" exit 0 ;; *) From f4738cb65db4c50fe39bd6564761bf52bd415360 Mon Sep 17 00:00:00 2001 From: Bike Dude Date: Sun, 11 Jul 2021 12:50:08 +0200 Subject: [PATCH 5/5] posix --- usr/local/share/bastille/list.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/local/share/bastille/list.sh b/usr/local/share/bastille/list.sh index 439840a1..611fdf36 100644 --- a/usr/local/share/bastille/list.sh +++ b/usr/local/share/bastille/list.sh @@ -158,7 +158,7 @@ if [ $# -gt 0 ]; then rctl -h jail: ;; import|imports|export|exports|backup|backups) - ls "${bastille_backupsdir}" | grep "*.*sha256$" + ls "${bastille_backupsdir}" | grep -v ".sha256$" exit 0 ;; *)