Skip to content

Commit

Permalink
Merge pull request #65 from theohbrothers/fix/fix-misdetection-of-pla…
Browse files Browse the repository at this point in the history
…tform-for-macos

Fix: Fix misdetection of platform for macos
  • Loading branch information
leojonathanoh authored Feb 13, 2025
2 parents 9899868 + 02b5b17 commit 7763d6a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions webize
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,12 @@ fi
PLATFORM=linux
if echo "${OSTYPE:-}" | grep -iE 'darwin' > /dev/null; then
PLATFORM=darwin
fi
if ! ls -al --time-style='+%Y' > /dev/null 2>&1; then
elif ! ls -al --time-style='+%Y' > /dev/null 2>&1; then
PLATFORM=busybox
fi
if [ -n "$VERBOSE" ]; then
echo "PLATFORM=$PLATFORM"
fi

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

0 comments on commit 7763d6a

Please sign in to comment.