Kaydet (Commit) e29ecece authored tarafından Ali Rıza Keskin's avatar Ali Rıza Keskin

build ile ilgili güvenlik önlemi

üst 6dcb5abf
PREFIX=/
all: build install
clean:
`find | grep pycache | sed 's/^/rm -rf /g'`
rm -rf build
build:
python3 setup.py build
install:
python3 setup.py install --prefix=$(PREFIX)
install inary-cli $(PREFIX)usr/bin/inary
......@@ -36,7 +36,7 @@
<ref name="Icon"/>
</optional>
<optional>
<ref name="Rfp"/>
<ref name="RFP"/>
</optional>
<zeroOrMore>
<ref name="IsA"/>
......@@ -51,9 +51,9 @@
<!-- FIXME: should be oneOrMore -->
<ref name="Description"/>
</zeroOrMore>
<oneOrMore>
<optional>
<ref name="Archive"/>
</oneOrMore>
</optional>
<optional>
<ref name="AdditionalFiles"/>
</optional>
......@@ -154,8 +154,8 @@
</define>
<!-- Rfp -->
<define name="Icon">
<element name="Icon">
<define name="RFP">
<element name="RFP">
<text/>
</element>
</define>
......
......@@ -377,7 +377,7 @@ class Builder:
def get_build_types(self):
ignored_build_types = \
ctx.config.values.build.ignored_build_types.split(",")
build_types = [""]
build_types = []
packages = []
for package in self.spec.packages:
......@@ -391,7 +391,7 @@ class Builder:
packages.append(package)
self.spec.packages = packages
build_types.append("")
return build_types
def set_build_type(self, build_type):
......@@ -407,6 +407,7 @@ class Builder:
# Each time a builder is created we must reset
# environment. See bug #2575
os.environ.clear()
inary.actionsapi.variables.initVariables()
env = {"PKG_DIR": self.pkg_dir(),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment