[Rpm-maint] [rpm-software-management/rpm] Dynamic Build Dependencies (#593)

Pavel Raiskup notifications at github.com
Tue Mar 12 06:07:26 UTC 2019


praiskup commented on this pull request.



> +    }
+
+    fprintf(fp, "cd '%s'\n", buildDir);
+
+    if (spec->buildSubdir)
+    	fprintf(fp, "cd '%s'\n", spec->buildSubdir);
+    fprintf(fp, "%s", getStringBuf(spec->buildrequires));
+    (void) fclose(fp);
+
+    if (test) {
+	rc = RPMRC_OK;
+	goto exit;
+    }
+
+    /* execute script */
+    buildCmd = rpmExpand("/bin/bash", " ", scriptName, NULL);

/bin/sh?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/593#pullrequestreview-213208055
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190311/9df6a543/attachment.html>


More information about the Rpm-maint mailing list