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:
François Revol 2012-01-05 03:17:37 +01:00
parent f91a2037a5
commit 577d81a9b6

View File

@ -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)" ;
}