summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2025-09-26 00:09:46 +0100
committerLeah Rowe <leah@libreboot.org>2025-09-26 00:09:46 +0100
commite42cb4f4cd513f512397ff7a46b6174b39a9708e (patch)
treeab6ba25c737cfa17ed6bc6eb9e1c4f5419ff892b /mk
parentf5060232e16ab1c041f0108a5f65d8f96f79756d (diff)
xbmk: tidy up some if statements
this is an extension of the previous work to unroll most of the condensed code lines. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'mk')
-rwxr-xr-xmk2
1 files changed, 0 insertions, 2 deletions
diff --git a/mk b/mk
index 7e8a70d9..97c064cd 100755
--- a/mk
+++ b/mk
@@ -12,11 +12,9 @@ ispwd="true"
if [ "$0" != "./mk" ]; then
ispwd="false"
fi
-
if [ "$ispwd" = "true" ] && [ -L "mk" ]; then
ispwd="false"
fi
-
if [ "$ispwd" = "false" ]; then
printf "You must run this in the proper work directory.\n" 1>&2
exit 1