Skip to content
Snippets Groups Projects
Commit 4f6e511b authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

Merge branch 'rf/makefile' into 'master'

BF: install errors if it gets given a dir name

See merge request !23
parents 6edeee8f cf24d805
No related branches found
No related tags found
1 merge request!23BF: install errors if it gets given a dir name
Pipeline #10451 passed
...@@ -19,7 +19,7 @@ install: ...@@ -19,7 +19,7 @@ install:
${INSTALL} -m 0755 bin/* ${PREFIX}/share/fsl/bin/ ${INSTALL} -m 0755 bin/* ${PREFIX}/share/fsl/bin/
${INSTALL} -m 0644 config/* ${PREFIX}/config/ ${INSTALL} -m 0644 config/* ${PREFIX}/config/
${INSTALL} -m 0755 config/supportedGencodes.sh ${PREFIX}/config/ ${INSTALL} -m 0755 config/supportedGencodes.sh ${PREFIX}/config/
${INSTALL} -m 0644 doc/* ${PREFIX}/doc/ ${INSTALL} -m 0644 doc/fsl.css ${PREFIX}/doc/
${INSTALL} -m 0644 doc/images/* ${PREFIX}/doc/images/ ${INSTALL} -m 0644 doc/images/* ${PREFIX}/doc/images/
${INSTALL} -m 0644 etc/fslconf/* ${PREFIX}/etc/fslconf/ ${INSTALL} -m 0644 etc/fslconf/* ${PREFIX}/etc/fslconf/
${INSTALL} -m 0644 etc/flirtsch/* ${PREFIX}/etc/flirtsch/ ${INSTALL} -m 0644 etc/flirtsch/* ${PREFIX}/etc/flirtsch/
......
#!/usr/bin/env python
#
import os
import sys
import os.path as op
import subprocess as sp
import tempfile
def test_make_install():
env = os.environ.copy()
with tempfile.TemporaryDirectory() as td:
env['FSLDEVDIR'] = td
sp.run(('make', 'install'), env=env, check=True)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment