Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
PureOS
Packages
qemu
Commits
f21b7895
Commit
f21b7895
authored
Dec 11, 2018
by
Michael Tokarev
Browse files
get-orig-source: handle 3.x and 4.x too
parent
cdd7a3b6
Changes
1
Hide whitespace changes
Inline
Side-by-side
debian/get-orig-source.sh
View file @
f21b7895
...
...
@@ -78,7 +78,7 @@ case "$#$1" in
echo
"apparently not a qemu source dir"
>
&2
;
exit
1
;;
1[012].
*
)
;;
1[012
34
].
*
)
;;
*
)
echo
"unknown arguments. Should be either 'dfsg' or a version number"
>
&2
...
...
@@ -92,7 +92,7 @@ case "$upstream" in
*
~rc
*
)
upstream
=
$(
echo
"
$upstream
"
|
sed
's/~rc/-rc/'
)
;;
esac
case
"
$upstream
"
in
2
.[0-9]
|
2
.[0-9][!0-9.]
*
)
# add .0 to a version number
[
234]
.[0-9]
|
[
234]
.[0-9][!0-9.]
*
)
# add .0 to a version number
upstream
=
$(
echo
"
$upstream
"
|
sed
's/^.\../&.0/'
)
;;
esac
...
...
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