Skip to content

Commit

Permalink
Merge pull request idaholab#5054 from permcody/libmesh_notifier
Browse files Browse the repository at this point in the history
Additional improvements to moose.mk
  • Loading branch information
jwpeterson committed May 12, 2015
2 parents e8c322a + a380fac commit 6e7ed3f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions framework/moose.mk
Expand Up @@ -64,9 +64,11 @@ moose_revision:
$(moose_revision_header) MOOSE)

# libmesh submodule status
libmesh_status := $(shell git -C $(MOOSE_DIR) submodule status)
libmesh_status := $(shell git -C $(MOOSE_DIR) submodule status 2>/dev/null)
ifneq (,$(findstring +,$(libmesh_status)))
libmesh_message = "\n***WARNING***\nYour libmesh is out of date.\nYou need to run update_and_rebuild_libmesh.sh in the scripts directory.\n\n"
ifneq ($(origin MOOSE_DIR),environment)
libmesh_message = "\n***WARNING***\nYour libmesh is out of date.\nYou need to run update_and_rebuild_libmesh.sh in the scripts directory.\n\n"
endif
endif
libmesh_submodule_status:
@if [ x$(libmesh_message) != "x" ]; then echo $(libmesh_message); fi
Expand Down

0 comments on commit 6e7ed3f

Please sign in to comment.