Makefile use `cut -b` for OSX compatibility

master
SheetJS 2014-05-13 18:13:07 -07:00
rodzic f095ad81a0
commit 611a02b344
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -8,7 +8,7 @@ TMP_PATH := /tmp/${NPM_PACKAGE}-$(shell date +%s)
REMOTE_NAME ?= origin
REMOTE_REPO ?= $(shell git config --get remote.${REMOTE_NAME}.url)
CURR_HEAD := $(firstword $(shell git show-ref --hash HEAD | cut --bytes=-6) master)
CURR_HEAD := $(firstword $(shell git show-ref --hash HEAD | cut -b -6) master)
GITHUB_PROJ := nodeca/${NPM_PACKAGE}