We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bef1db5 commit 5881909Copy full SHA for 5881909
applications/solvers/additiveFoam/Allwmake
@@ -7,8 +7,8 @@ cd ${0%/*} || exit 1 # Run from this directory
7
#------------------------------------------------------------------------------
8
# Generate header for git information
9
HEADER_FILE="${0%/*}/Make/gitInfo.H"
10
-GIT_DESCRIBE=$(git describe --tags --always 2>/dev/null)
11
-GIT_SHA1=$(git rev-parse HEAD 2>/dev/null)
+GIT_DESCRIBE=$(git describe --tags --always 2>/dev/null) || GIT_DESCRIBE="undefined"
+GIT_SHA1=$(git rev-parse HEAD 2>/dev/null) || GIT_SHA1="undefined"
12
13
cat > "$HEADER_FILE" << EOF
14
#ifndef gitInfo_H
0 commit comments