OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
689211d
)
version.sh: Fix spurious rebuilds.
author
Carl Eugen Hoyos
<cehoyos@ag.or.at>
Thu, 10 Mar 2016 08:53:10 +0000
(09:53 +0100)
committer
Carl Eugen Hoyos
<cehoyos@ag.or.at>
Thu, 10 Mar 2016 08:53:10 +0000
(09:53 +0100)
Regression since
104f8ea8
.
version.sh
patch
|
blob
|
history
diff --git
a/version.sh
b/version.sh
index
a9d7e39
..
edc4dd3
100755
(executable)
--- a/
version.sh
+++ b/
version.sh
@@
-46,7
+46,7
@@
if [ -z "$2" ]; then
fi
NEW_REVISION="#define FFMPEG_VERSION \"$version\""
-OLD_REVISION=$(cat "$2" 2> /dev/null | head -
3
| tail -1)
+OLD_REVISION=$(cat "$2" 2> /dev/null | head -
4
| tail -1)
# String used for preprocessor guard
GUARD=$(echo "$2" | sed 's/\//_/' | sed 's/\./_/' | tr '[:lower:]' '[:upper:]' | sed 's/LIB//')