From 83784ed18bc2b6edcfb9400c350562356ef554f2 Mon Sep 17 00:00:00 2001 From: Rolf Eike Beer Date: Thu, 8 Jun 2017 21:19:25 +0200 Subject: bootstrap: remove leftover empty variable dereference This was missed in 9c0d1e7531edbebc7943d5b981353b17631ed632 when the for loop that used this as loop variable was removed. --- bootstrap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap b/bootstrap index 2cf7847..ba2a5f3 100755 --- a/bootstrap +++ b/bootstrap @@ -10,7 +10,7 @@ die() { cmake_extract_standard_flags() { sed -n "s/ *set *( *CMAKE_${2}${3}_EXTENSION_COMPILE_OPTION *\"\{0,1\}\([^\")]*\).*/\1/p" \ - "${file}" "${cmake_source_dir}/Modules/Compiler/"${1:-*}-${2}.cmake 2>/dev/null | tr ';' ' ' + "${cmake_source_dir}/Modules/Compiler/"${1:-*}-${2}.cmake 2>/dev/null | tr ';' ' ' } # Version number extraction function. -- cgit v0.12