2013-03-16 04:51 UTC+0100 Viktor Szakats (harbour syenar.net)

* config/global.mk
    ! fixed to not try to query git information and fail,
      when run in a source snapshot
This commit is contained in:
vszakats
2013-03-16 04:52:47 +01:00
parent 6dc4df96dd
commit 6c3070d8b6
2 changed files with 13 additions and 6 deletions

View File

@@ -10,6 +10,11 @@
* Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment
*/
2013-03-16 04:51 UTC+0100 Viktor Szakats (harbour syenar.net)
* config/global.mk
! fixed to not try to query git information and fail,
when run in a source snapshot
2013-03-16 04:42 UTC+0100 Viktor Szakats (harbour syenar.net)
* package/updt_web_nightly.sh
+ use curl instead of wget

View File

@@ -1742,13 +1742,15 @@ ifeq ($(HB_INIT_DONE),)
# endif
# $(info ! REVISION: $(_tmp))
# endif
ifneq ($(call find_in_path,git),)
_tmp := $(shell git diff --name-only)
ifneq ($(_tmp),)
$(info ! === WARNING: Locally modified source code ===)
ifneq ($(wildcard .git),)
ifneq ($(call find_in_path,git),)
_tmp := $(shell git diff --name-only --quiet)
ifneq ($(_tmp),)
$(info ! === WARNING: Locally modified source code ===)
endif
_tmp := $(shell git rev-parse --short HEAD)
$(info ! GIT-REVISION: $(_tmp))
endif
_tmp := $(shell git rev-parse --short HEAD)
$(info ! REVISION: $(_tmp))
endif
endif
endif