Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Nomadbsd
Commits
5806f915
Unverified
Commit
5806f915
authored
4 years ago
by
mrclksr
Committed by
GitHub
4 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Remove get_version() which is in "common"
parent
d719938c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
build
+0
-18
build
with
0 additions
and
18 deletions
+0
-18
build
+
0
-
18
View file @
5806f915
...
@@ -506,24 +506,6 @@ createtmpimage()
...
@@ -506,24 +506,6 @@ createtmpimage()
mdconfig
-
d
-
u
$
{
mddev
}
mdconfig
-
d
-
u
$
{
mddev
}
}
}
#
# Returns the shortened, current git commit ID, or the tag if given.
#
get_version
()
{
git
log
--
oneline
--
decorate
=
full
|
head
-
1
|
awk
-
F
'[
\t
()]+'
'{
ID=$1;
for (i = 1; i <= NF; i++) {
if ($i ~ /tags/) {
n = split($i, a, "/")
print a[n];
exit(0);
}
}
print ID;
}'
}
createimage
()
createimage
()
{
{
local
tmpimgdev
used
pn
MNT
local
tmpimgdev
used
pn
MNT
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
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
Menu
Projects
Groups
Snippets
Help