Skip to content

Commit 68565e4

Browse files
committed
Make scripts use bourne shell and not bash
So "make install" failed on Ubuntu (and Debian) Signed-off-by: Anders F Björklund <[email protected]>
1 parent 0761563 commit 68565e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ _output/share/lima/lima-guestagent.Linux-aarch64:
5555
install:
5656
mkdir -p "$(DEST)"
5757
cp -av _output/* "$(DEST)"
58-
if [[ $(shell uname -s ) != Linux && ! -e "$(DEST)/bin/nerdctl" ]]; then ln -sf nerdctl.lima "$(DEST)/bin/nerdctl"; fi
58+
if [ "$(shell uname -s )" != "Linux" -a ! -e "$(DEST)/bin/nerdctl" ]; then ln -sf nerdctl.lima "$(DEST)/bin/nerdctl"; fi
5959

6060
.PHONY: uninstall
6161
uninstall:

0 commit comments

Comments
 (0)