summaryrefslogtreecommitdiffstats
path: root/auto/scripts
diff options
context:
space:
mode:
authorTails developers <amnesia@boum.org>2012-11-11 13:16:39 +0100
committerTails developers <amnesia@boum.org>2012-11-11 13:16:39 +0100
commitbe4e704e0f02d87dddfd5ab2bdfa431a75f77ecd (patch)
tree5b3399dd0ae3d29e778ddcb5590824b8348ceaf7 /auto/scripts
parente7f99290f3c45b8d6cfa90c2bf87db99865edd68 (diff)
Keep dots in branch name when converting to APT suite name.
That's how the conversion is done on the APT repository side.
Diffstat (limited to 'auto/scripts')
-rwxr-xr-xauto/scripts/tails-custom-apt-sources2
1 files changed, 1 insertions, 1 deletions
diff --git a/auto/scripts/tails-custom-apt-sources b/auto/scripts/tails-custom-apt-sources
index 02f286e..5e37c28 100755
--- a/auto/scripts/tails-custom-apt-sources
+++ b/auto/scripts/tails-custom-apt-sources
@@ -39,7 +39,7 @@ on_topic_branch() {
branch_name_to_suite() {
local branch="$1"
- echo "$branch" | sed -e 's,[^a-z0-9-],-,ig' | tr '[A-Z]' '[a-z]'
+ echo "$branch" | sed -e 's,[^.a-z0-9-],-,ig' | tr '[A-Z]' '[a-z]'
}