Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
infra
packages
Commits
ca08bafb
Commit
ca08bafb
authored
Apr 03, 2019
by
Lars Beckers
Browse files
fix bash syntax error in common.sh
parent
ddd28628
Pipeline
#783
passed with stage
in 37 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
scripts/common.sh
View file @
ca08bafb
...
...
@@ -40,7 +40,7 @@ function dch_custom() {
function
dch_backport
()
{
local
version, name
version
=
$(
cat
/etc/os-release |
grep
VERSION_ID
=
|
sed
-E
's/.*([0-9]+).*/\1/'
)
)
version
=
$(
cat
/etc/os-release |
grep
VERSION_ID
=
|
sed
-E
's/.*([0-9]+).*/\1/'
)
name
=
$(
cat
/etc/os-release |
grep
VERSION
=
|
sed
's/.*(\(.*\)).*/\1/'
)
debchange
--local
~bpo
$version
+
--distribution
$name
-backports
"Rebuild for
$name
-backports."
}
...
...
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