Skip to content

Commit 38a010f

Browse files
committed
enh: Fix shellcheck warnings
1 parent 9e1bf81 commit 38a010f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tool/include-list-gen.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#!/bin/sh -e
22
# Generate the content of nanorc
33

4-
base="$(dirname $0)/../"
4+
base="$(dirname "$0")/../"
55

66
rm "$base/nanorc"
7-
for n in $base/*.nanorc; do
7+
for n in "$base"/*.nanorc; do
88
printf 'include "~/.nano/%s"\n' "$(basename "$n")" >> "$base/nanorc"
99
done

tool/shellcheck.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/sh -ev
22
# Shellcheck the script
33

4-
base="$(dirname $0)/../"
4+
base="$(dirname "$0")/../"
55
shellcheck "$base/install.sh"

0 commit comments

Comments
 (0)