Skip to content

Commit f37f9f3

Browse files
authored
Merge pull request #1819 from stickeegreg/master
Fix Alpine / Busybox compatibility
2 parents f3ca663 + fd17f4d commit f37f9f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dist/npm/bin/devspace

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env sh
22

33
BINARY=$(command -v devspace)
4-
STAT=$(stat -L -f%z "$BINARY" 2>/dev/null || stat --printf="%s" "$BINARY" 2>/dev/null)
4+
STAT=$(stat -L -f%z "$BINARY" 2>/dev/null || stat -c"%s" "$BINARY" 2>/dev/null)
55

66
if [ ! -f "$BINARY" ] || [ "$STAT" -lt 10000 ]; then
77
echo "Finishing installation of DevSpace CLI"

0 commit comments

Comments
 (0)