From 577d81a9b6baebc1b0a9e6edca4f79fc19e7f899 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Thu, 5 Jan 2012 03:17:37 +0100 Subject: [PATCH] Add proper error on ExtractArchive with missing filename The * case was not generating any message due to empty string expansion I suppose... --- build/jam/FileRules | 1 + 1 file changed, 1 insertion(+) diff --git a/build/jam/FileRules b/build/jam/FileRules index 788dcfcd3b..2a5b896000 100644 --- a/build/jam/FileRules +++ b/build/jam/FileRules @@ -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)" ; }