[pitivi/thiblahute/sdk3.30: 4/7] flatpak: Allow '/' in branch names



commit 90734344c20a8d2890a9359e88557e02065d6655
Author: Thibault Saunier <tsaunier igalia com>
Date:   Fri Jan 4 10:45:52 2019 +0100

    flatpak: Allow '/' in branch names

 build/flatpak/pitivi-flatpak | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/build/flatpak/pitivi-flatpak b/build/flatpak/pitivi-flatpak
index 22525b11..3f67b908 100755
--- a/build/flatpak/pitivi-flatpak
+++ b/build/flatpak/pitivi-flatpak
@@ -402,6 +402,7 @@ class PitiviFlatpak:  # pylint: disable=too-many-instance-attributes
                     stderr=devnull,
                     cwd=self.topdir).decode("utf-8").strip("\n")
                 self.build_name = self.name + "." + branch
+                self.build_name = self.build_name.replace(os.path.sep, "_")
             except subprocess.CalledProcessError:
                 pass
             finally:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]