mirror of
				https://git.proxmox.com/git/mirror_zfs.git
				synced 2025-10-26 18:05:04 +03:00 
			
		
		
		
	module/Makefile.in: don't run xargs if empty
If stdin if empty - don't run xargs command, otherwise we can get `cp: missing file operand` error. Reviewed-by: Ryan Moeller <ryan@ixsystems.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: George Melikov <mail@gmelikov.ru> Closes #9418
This commit is contained in:
		
							parent
							
								
									5e78137f28
								
							
						
					
					
						commit
						8139355dce
					
				@ -68,7 +68,7 @@ distdir:
 | 
			
		||||
	list='$(obj-m)'; for objdir in $$list; do \
 | 
			
		||||
		(cd @top_srcdir@/module && find $$objdir \
 | 
			
		||||
		-name '*.c' -o -name '*.h' -o -name '*.S' | \
 | 
			
		||||
		xargs cp --parents -t @abs_top_builddir@/module/$$distdir); \
 | 
			
		||||
		xargs -r cp --parents -t @abs_top_builddir@/module/$$distdir); \
 | 
			
		||||
	done
 | 
			
		||||
 | 
			
		||||
distclean maintainer-clean: clean
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user