aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2022-01-24 00:36:40 +0300
committerCem Keylan <cem@ckyln.com>2022-01-24 00:36:40 +0300
commit84e083c77044a9e9e48abe2851a2b12a4aace71f (patch)
treea0986be5e654fe16e4306d892e326fce97b27649
parentc467d85a6d138da70b0cb1c2697101e41e6129ba (diff)
downloadrepository-84e083c77044a9e9e48abe2851a2b12a4aace71f.tar.gz
cage: fix shellcheck error
-rwxr-xr-xwayland/cage/build5
1 files changed, 2 insertions, 3 deletions
diff --git a/wayland/cage/build b/wayland/cage/build
index 913220ab..2f4087b8 100755
--- a/wayland/cage/build
+++ b/wayland/cage/build
@@ -1,12 +1,11 @@
#!/bin/sh -e
export WLROOTS_DIR="$PWD/pkg"
+export DESTDIR="$WLROOTS_DIR"
(
cd wlroots
-export DESTDIR="$WLROOTS_DIR"
-
cl-meson \
--default-library=static \
-Dexamples=false \
@@ -23,7 +22,7 @@ export DESTDIR="$1"
export LDLIBS="$LDLIBS -L$WLROOTS_DIR/usr/lib $WLROOTS_DIR/usr/lib/libwlroots.a"
export LDFLAGS="$LDFLAGS -L$WLROOTS_DIR/usr/lib $WLROOTS_DIR/usr/lib/libwlroots.a"
export CFLAGS="$CFLAGS -I$WLROOTS_DIR/usr/include"
-export PKG_CONFIG_PATH=$WLROOTS_DIR/usr/lib/pkgconfig
+export PKG_CONFIG_PATH="$WLROOTS_DIR/usr/lib/pkgconfig"
cl-meson \
-Dman-pages=enabled \