Add proper error on ExtractArchive with missing filename
The * case was not generating any message due to empty string expansion I suppose...
This commit is contained in:
parent
f91a2037a5
commit
577d81a9b6
@ -239,6 +239,7 @@ rule ExtractArchive directory : entries : archiveFile : grist
|
||||
$(archiveFile) ;
|
||||
case .tgz : ExtractTarArchive1 $(targets) : $(directory)
|
||||
$(archiveFile) ;
|
||||
case "" : Exit "ExtractArchive: No archive passed" ;
|
||||
case * : Exit "ExtractArchive: Unhandled archive extension:
|
||||
$(archiveFile:S)" ;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user