Skip to content

Commit 7763d6a

Browse files
Merge pull request #65 from theohbrothers/fix/fix-misdetection-of-platform-for-macos
Fix: Fix misdetection of platform for macos
2 parents 9899868 + 02b5b17 commit 7763d6a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

webize

+4-2
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,12 @@ fi
7777
PLATFORM=linux
7878
if echo "${OSTYPE:-}" | grep -iE 'darwin' > /dev/null; then
7979
PLATFORM=darwin
80-
fi
81-
if ! ls -al --time-style='+%Y' > /dev/null 2>&1; then
80+
elif ! ls -al --time-style='+%Y' > /dev/null 2>&1; then
8281
PLATFORM=busybox
8382
fi
83+
if [ -n "$VERBOSE" ]; then
84+
echo "PLATFORM=$PLATFORM"
85+
fi
8486

8587
if [ -n "$SCOPED" ]; then
8688
DIRS=$( find "$DIR" -type d )

0 commit comments

Comments
 (0)