From e42cb4f4cd513f512397ff7a46b6174b39a9708e Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Fri, 26 Sep 2025 00:09:46 +0100 Subject: 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 --- mk | 2 -- 1 file changed, 2 deletions(-) (limited to 'mk') 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 -- cgit v1.2.1