Skip to content

Commit

Permalink
Resolve Makefile error on Ubuntu (#3780)
Browse files Browse the repository at this point in the history
  • Loading branch information
MahdiBaghbani authored Apr 11, 2023
1 parent 6f953ae commit 909d369
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# force makefile to use bash instead of sh.
SHELL := /usr/bin/env bash

.PHONY: all
all: revad reva test-go lint gen-doc

Expand Down
7 changes: 7 additions & 0 deletions changelog/unreleased/fix-makefile.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Bugfix: Fix Makefile error on Ubuntu

I've fixed Makefile using sh which is defaulted to dash in ubuntu, dash doesn't support
`[[ ... ]]` syntax and Makefile would throw `/bin/sh: 1: [[: not found` errors.

https://github.com/cs3org/reva/pull/3780
https://github.com/cs3org/reva/issues/3773

0 comments on commit 909d369

Please sign in to comment.