about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorNRK <nrk@disroot.org>2021-08-15 03:50:33 +0600
committerNRK <nrk@disroot.org>2021-08-15 03:50:33 +0600
commitc47c0f3216fddedfb8099adbb98eece41f8ec040 (patch)
tree8cebb534b12e73ce78893f3523e108815886a570
parentdc791089695a110623d9ca9ec84c9c39b6e31182 (diff)
downloadranger-c47c0f3216fddedfb8099adbb98eece41f8ec040.tar.gz
fix edge case when file is in root
-rwxr-xr-xexamples/rifle_sxiv.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/rifle_sxiv.sh b/examples/rifle_sxiv.sh
index ba429e8d..d0b5058f 100755
--- a/examples/rifle_sxiv.sh
+++ b/examples/rifle_sxiv.sh
@@ -20,7 +20,7 @@
 # variable.
 
 listfiles () {
-    find -L "${target%/*}" -maxdepth 1 -type f -iregex \
+    find -L "///${target%/*}" -maxdepth 1 -type f -iregex \
       '.*\(jpe?g\|bmp\|png\|gif\|webp\)$' -print0 | sort -z
 }
 
id'>618a88e0 ^
a13ad5be ^
06fbb9bc ^
a13ad5be ^
618a88e0 ^
fd8f6d7d ^
06fbb9bc ^
a13ad5be ^

34b02351 ^
9a3cd69e ^
34b02351 ^
5268aada
5d6af7f5 ^
15815d72 ^
ca86dcd3 ^
06fbb9bc ^
f7cf612a ^
2014e1e0 ^
15815d72 ^
a13ad5be ^
5268aada
ca86dcd3 ^

a13ad5be ^
ca86dcd3 ^
618a88e0 ^


a13ad5be ^
8fd4662c ^
a13ad5be ^
ca86dcd3 ^


06fbb9bc ^



ca86dcd3 ^




618a88e0 ^








ca86dcd3 ^
8fd4662c ^


06fbb9bc ^
f7cf612a ^

9a3cd69e ^
f7cf612a ^

a13ad5be ^
8fd4662c ^
a13ad5be ^

54623b97 ^
a13ad5be ^


8fd4662c ^








618a88e0 ^




8fd4662c ^
b3b97465 ^
618a88e0 ^



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103