Skip to content

Commit d049f02

Browse files
committed
chore: address lints in setup script
1 parent 2cb9ef0 commit d049f02

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ esac
4343

4444
# Parse CLI arguments.
4545
# Defaults.
46-
output="$(dirname $0)/webui"
46+
output="$(dirname "$0")/webui"
4747
version="nightly"
4848
while [ $# -gt 0 ]; do
4949
case "$1" in
@@ -96,6 +96,6 @@ echo ""
9696

9797
# Clean downloaded files and residues.
9898
rm -f "$archive"
99-
rm -rf "$output/$archive_dir"
99+
rm -rf "${output:?}/$archive_dir"
100100

101101
echo "Done."

0 commit comments

Comments
 (0)