Merge branch 'fix_biuld' into 'master'
build: Fix unnecessary shell quotes See merge request Librem5/squeekboard!454
This commit is contained in:
		@ -34,7 +34,7 @@ if out_path:
 | 
				
			|||||||
    i = args.index(out_path)
 | 
					    i = args.index(out_path)
 | 
				
			||||||
    args.pop(i)    
 | 
					    args.pop(i)    
 | 
				
			||||||
 | 
					
 | 
				
			||||||
subprocess.run(['sh', "{}/cargo.sh".format(shlex.quote(source_dir.as_posix())), 'build']
 | 
					subprocess.run(['sh', "{}/cargo.sh".format(source_dir.as_posix()), 'build']
 | 
				
			||||||
    + args,
 | 
					    + args,
 | 
				
			||||||
    check=True)
 | 
					    check=True)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -43,7 +43,7 @@ if out_path:
 | 
				
			|||||||
    out_basename = out_path.name
 | 
					    out_basename = out_path.name
 | 
				
			||||||
    filename = filename or out_basename
 | 
					    filename = filename or out_basename
 | 
				
			||||||
    subprocess.run(['cp', '-a',
 | 
					    subprocess.run(['cp', '-a',
 | 
				
			||||||
        './{}/{}'.format(shlex.quote(binary_dir), shlex.quote(filename)),
 | 
					        './{}/{}'.format(binary_dir, filename),
 | 
				
			||||||
        out_path],
 | 
					        out_path],
 | 
				
			||||||
        check=True)
 | 
					        check=True)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user