Skip to content
Snippets Groups Projects
Commit 798f9f53 authored by Simon McVittie's avatar Simon McVittie
Browse files

build-relocatable-install: Wrap long lines

parent f85351d3
No related branches found
No related tags found
No related merge requests found
...@@ -584,10 +584,12 @@ def main(): ...@@ -584,10 +584,12 @@ def main():
) )
subprocess.check_call([ subprocess.check_call([
'tar', 'tar',
r'--transform=s,^\(\.\(/\|$\)\)\?,pressure-vessel{}/,'.format( (r'--transform='
r's,^\(\.\(/\|$\)\)\?,pressure-vessel{}/,').format(
tail, tail,
), ),
'--exclude=metadata', # this is all duplicated in sources/ # metadata/ is all duplicated in sources/
'--exclude=metadata',
'-zcvf', src_tar + '.tmp', '-zcvf', src_tar + '.tmp',
'-C', installation, '-C', installation,
'.', '.',
...@@ -597,7 +599,8 @@ def main(): ...@@ -597,7 +599,8 @@ def main():
subprocess.check_call([ subprocess.check_call([
'tar', 'tar',
r'--transform=s,^\(\.\(/\|$\)\)\?,pressure-vessel{}/,'.format( (r'--transform='
r's,^\(\.\(/\|$\)\)\?,pressure-vessel{}/,').format(
tail, tail,
), ),
'--exclude=sources', '--exclude=sources',
......
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