File: x_tar.py

package info (click to toggle)
git-ubuntu 1.1-2
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 1,688 kB
  • sloc: python: 13,378; sh: 480; makefile: 2
file content (9 lines) | stat: -rw-r--r-- 234 bytes parent folder | download
1
2
3
4
5
6
7
8
9
from snapcraft.plugins import autotools

class XTarPlugin(autotools.AutotoolsPlugin):
    def env(self, root):
        env = super().env(root)
        env.extend([
            'FORCE_UNSAFE_CONFIGURE=1',
        ])
        return env