Sfoglia il codice sorgente

chore(CI): fix build error on windows

zhanghongtong 5 anni fa
parent
commit
c5f0194af7
3 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 1 1
      Makefile
  2. 1 1
      scripts/git-hook-pre-push.sh
  3. 1 1
      scripts/git-hooks-init.sh

+ 1 - 1
Makefile

@@ -1,4 +1,4 @@
-$(shell scripts/git-hooks-init.sh)
+$(shell $(CURDIR)/scripts/git-hooks-init.sh)
 REBAR_VERSION = 3.14.3-emqx-5
 REBAR = $(CURDIR)/rebar3
 BUILD = $(CURDIR)/build

+ 1 - 1
scripts/git-hook-pre-push.sh

@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 set -euo pipefail
 

+ 1 - 1
scripts/git-hooks-init.sh

@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 set -euo pipefail