Skip to content

Commit 069891c

Browse files
committed
shellcheck
1 parent 1b48029 commit 069891c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

ci/build.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ else
1515
TEMP_BASE=/tmp
1616
fi
1717

18-
BUILD_DIR=$(mktemp -d -p "$TEMP_BASE" linuxdeploy-plugin-qt-build-XXXXXX)
18+
BUILD_DIR="$(mktemp -d -p "$TEMP_BASE" linuxdeploy-plugin-qt-build-XXXXXX)"
1919

2020
cleanup () {
2121
if [ -d "$BUILD_DIR" ]; then
@@ -26,8 +26,8 @@ cleanup () {
2626
trap cleanup EXIT
2727

2828
# store repo root as variable
29-
REPO_ROOT=$(readlink -f $(dirname $(dirname "$0")))
30-
OLD_CWD=$(readlink -f .)
29+
REPO_ROOT="$(readlink -f "$(dirname "$(dirname "$0")")")"
30+
OLD_CWD="$(readlink -f .)"
3131

3232
pushd "$BUILD_DIR"
3333

@@ -37,7 +37,7 @@ fi
3737

3838
cmake "$REPO_ROOT" -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo "${EXTRA_CMAKE_ARGS[@]}" -DBUILD_TESTING=On -DSTATIC_BUILD=On
3939

40-
make -j$(nproc)
40+
make -j"$(nproc)"
4141

4242
ctest -V --no-tests=error
4343

@@ -53,7 +53,7 @@ strip_path="$(readlink -f out/usr/bin/strip)"
5353

5454
export UPD_INFO="gh-releases-zsync|linuxdeploy|linuxdeploy-plugin-qt|continuous|linuxdeploy-plugin-qt-$ARCH.AppImage"
5555

56-
wget https://github.com/TheAssassin/linuxdeploy/releases/download/continuous/linuxdeploy-"$ARCH".AppImage
56+
wget "https://github.com/TheAssassin/linuxdeploy/releases/download/continuous/linuxdeploy-$ARCH.AppImage"
5757
chmod +x linuxdeploy*.AppImage
5858
./linuxdeploy-"$ARCH".AppImage --appdir AppDir \
5959
-d "$REPO_ROOT"/resources/linuxdeploy-plugin-qt.desktop \

0 commit comments

Comments
 (0)