mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
create-mkspec.sh: Exit 0 at the end of install section
Cut short CentOS magic appended to %install scriptlet, which would generates .pyo files and other cruft. See also https://stackoverflow.com/questions/30317213 Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
b7772630cf
commit
62643ed446
1 changed files with 1 additions and 0 deletions
|
|
@ -92,6 +92,7 @@ _cat <<- EOT
|
||||||
|echo "make install"
|
|echo "make install"
|
||||||
|echo "export PATH=$MOD_SCRIPT_DIR:\\\$PATH"
|
|echo "export PATH=$MOD_SCRIPT_DIR:\\\$PATH"
|
||||||
|echo "/bin/bash pkg.sh milk-install-log -p \\\$ENV_PREFIX -n \$NAME -t rpm -s \\"$subpackages\\" \$INSTALL_LOG \`dirname \$INSTALL_LOG\`"
|
|echo "/bin/bash pkg.sh milk-install-log -p \\\$ENV_PREFIX -n \$NAME -t rpm -s \\"$subpackages\\" \$INSTALL_LOG \`dirname \$INSTALL_LOG\`"
|
||||||
|
|echo "exit 0" # <- Cut short CentOS magic appended to install scriptlet, which would generate .pyo files and other cruft.
|
||||||
EOT
|
EOT
|
||||||
|
|
||||||
for p in $subpackages; do
|
for p in $subpackages; do
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue