Skip to content

Commit fd17f4d

Browse files
committed
Fix Alpine / Busybox compatibility
1 parent f3ca663 commit fd17f4d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)