gnu: ffmpeg: Don't replace 'sh' reference with 'bash'.
* gnu/packages/video.scm (ffmpeg)[arguments]: Use (which "sh") instead of (which "bash") in 'configure' phase.
This commit is contained in:
		
							parent
							
								
									2fed40421d
								
							
						
					
					
						commit
						47734a56d6
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -580,7 +580,7 @@ standards (MPEG-2, MPEG-4 ASP/H.263, MPEG-4 AVC/H.264, and VC-1/VMW3).")
 | 
				
			||||||
          (lambda* (#:key outputs configure-flags #:allow-other-keys)
 | 
					          (lambda* (#:key outputs configure-flags #:allow-other-keys)
 | 
				
			||||||
            (let ((out (assoc-ref outputs "out")))
 | 
					            (let ((out (assoc-ref outputs "out")))
 | 
				
			||||||
              (substitute* "configure"
 | 
					              (substitute* "configure"
 | 
				
			||||||
                (("#! /bin/sh") (string-append "#!" (which "bash"))))
 | 
					                (("#! /bin/sh") (string-append "#!" (which "sh"))))
 | 
				
			||||||
              (setenv "SHELL" (which "bash"))
 | 
					              (setenv "SHELL" (which "bash"))
 | 
				
			||||||
              (setenv "CONFIG_SHELL" (which "bash"))
 | 
					              (setenv "CONFIG_SHELL" (which "bash"))
 | 
				
			||||||
              (zero? (apply system*
 | 
					              (zero? (apply system*
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue