Skip to content

Commit 803e0e6

Browse files
authored
Fix script issues identified through shellcheck (#258)
* Fix spelling * Fix shellcheck-identified warnings in shell scripts
1 parent 9700b35 commit 803e0e6

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

.github/ISSUE_TEMPLATE/issue-report.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ PLEASE READ BEFORE REPORTING AN ISSUE
1111

1212
SSHFS does not have any active, regular contributors or developers. The current maintainer continues to apply pull requests and tries to make regular releases, but unfortunately has no capacity to do any development beyond addressing high-impact issues. When reporting bugs, please understand that unless you are including a pull request or are reporting a critical issue, you will probably not get a response.
1313

14-
To prevent the issue tracker from being flooded with issues that no-one is intending to work on, and to give more visibilty to critical issues that users should be aware of and that most urgently need attention, I will also close most bug reports once they've been inactive for a while.
14+
To prevent the issue tracker from being flooded with issues that no-one is intending to work on, and to give more visibility to critical issues that users should be aware of and that most urgently need attention, I will also close most bug reports once they've been inactive for a while.
1515

1616
Please note that this isn't meant to imply that you haven't found a bug - you most likely have and I'm grateful that you took the time to report it. Unfortunately, SSHFS is a purely volunteer driven project,
1717
and at the moment there simply aren't any volunteers.

compat/fuse_opt.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ extern "C" {
1818
/**
1919
* Option description
2020
*
21-
* This structure describes a single option, and and action associated
21+
* This structure describes a single option, and an action associated
2222
* with it, in case it matches.
2323
*
2424
* More than one such match may occur, in which case the action for

test/appveyor-build.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
machine=$(uname -m)
4-
mkdir build-$machine
5-
cd build-$machine
4+
mkdir "build-$machine"
5+
cd "build-$machine"
66
meson ..
77
ninja

test/travis-build.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ TEST_CMD="python3 -m pytest --maxfail=99 test/"
1313

1414
# Standard build with Valgrind
1515
for CC in gcc clang; do
16-
mkdir build-${CC}; cd build-${CC}
17-
if [ ${CC} == 'gcc-6' ]; then
16+
mkdir "build-${CC}"; cd "build-${CC}"
17+
if [ "${CC}" == 'gcc-6' ]; then
1818
build_opts='-D b_lundef=false'
1919
else
2020
build_opts=''
@@ -25,12 +25,12 @@ for CC in gcc clang; do
2525
TEST_WITH_VALGRIND=true ${TEST_CMD}
2626
cd ..
2727
done
28-
(cd build-$CC; sudo ninja install)
28+
(cd "build-${CC}"; sudo ninja install)
2929

3030
# Sanitized build
3131
CC=clang
3232
for san in undefined address; do
33-
mkdir build-${san}; cd build-${san}
33+
mkdir "build-${san}"; cd "build-${san}"
3434
# b_lundef=false is required to work around clang
3535
# bug, cf. https://groups.google.com/forum/#!topic/mesonbuild/tgEdAXIIdC4
3636
meson -D b_sanitize=${san} -D b_lundef=false -D werror=true ..

test/travis-install.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ninja
1313
sudo ninja install
1414
test -e /usr/local/lib/pkgconfig || sudo mkdir /usr/local/lib/pkgconfig
1515
sudo mv /usr/local/lib/*/pkgconfig/* /usr/local/lib/pkgconfig/
16-
ls -d1 /usr/local/lib/*-linux-gnu | sudo tee /etc/ld.so.conf.d/usrlocal.conf
16+
printf '%s\n' /usr/local/lib/*-linux-gnu | sudo tee /etc/ld.so.conf.d/usrlocal.conf
1717
sudo ldconfig
1818

1919
# Setup ssh

0 commit comments

Comments
 (0)