projects
/
platform
/
upstream
/
gst-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4dab760
)
fix for when version check doesn't work well
BRANCH-RELEASE-0_4_0-ROOT
author
Thomas Vander Stichele
<thomas@apestaart.org>
Thu, 27 Jun 2002 14:51:37 +0000
(14:51 +0000)
committer
Thomas Vander Stichele
<thomas@apestaart.org>
Thu, 27 Jun 2002 14:51:37 +0000
(14:51 +0000)
Original commit message from CVS:
fix for when version check doesn't work well
gst-autogen.sh
patch
|
blob
|
history
diff --git
a/gst-autogen.sh
b/gst-autogen.sh
index
251d399
..
2dced48
100644
(file)
--- a/
gst-autogen.sh
+++ b/
gst-autogen.sh
@@
-74,6
+74,7
@@
version_check ()
pkg_major=`echo $pkg_version | cut -d. -f1 | sed s/[a-zA-Z\-].*//g`
pkg_minor=`echo $pkg_version | cut -d. -f2 | sed s/[a-zA-Z\-].*//g`
pkg_micro=`echo $pkg_version | cut -d. -f3 | sed s/[a-zA-Z\-].*//g`
+ test -z "$pkg_major" && pkg_major=0
test -z "$pkg_minor" && pkg_minor=0
test -z "$pkg_micro" && pkg_micro=0