Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
0246d65b
Commit
0246d65b
authored
Nov 17, 2015
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make: avoid a spurious error message when git isn't installed
parent
71f7dbc3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
Makefile
Makefile
+4
-1
No files found.
Makefile
View file @
0246d65b
PKG
!=
which pkg
||
echo true
GIT
!=
which git
||
echo true
PAGER
?=
less
all
:
...
...
@@ -18,9 +19,11 @@ umount: force
remount
:
umount mount
.if
${GIT}
!=
true
CORE_COMMIT
!=
${
.CURDIR
}
/scripts/version.sh
CORE_VERSION
=
${
CORE_COMMIT
:C/-.
*
$/
/1
}
CORE_HASH
=
${
CORE_COMMIT
:C/^.
*-//1
}
.endif
.if
"${FLAVOUR}"
==
LibreSSL
CORE_REPOSITORY
?=
libressl
...
...
@@ -197,6 +200,6 @@ health: force
[
"
`
${
.CURDIR
}
/src/etc/rc.php_test_run
`
"
==
"FCGI-PASSED PASSED"
]
clean
:
git reset
--hard
HEAD
&&
git
clean
-xdqf
.
${
GIT
}
reset
--hard
HEAD
&&
${
GIT
}
clean
-xdqf
.
.PHONY
:
force
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment