summaryrefslogtreecommitdiffstats
path: root/bootstrap
diff options
context:
space:
mode:
authorRolf Eike Beer <eike@sf-mail.de>2017-06-08 19:19:25 (GMT)
committerRolf Eike Beer <eike@sf-mail.de>2017-06-08 19:19:25 (GMT)
commit83784ed18bc2b6edcfb9400c350562356ef554f2 (patch)
tree94e76df26b14134054abff672d0488f2de29f71f /bootstrap
parentcab94b7c4f82653796e407c90c8d348e8f45a904 (diff)
downloadCMake-83784ed18bc2b6edcfb9400c350562356ef554f2.zip
CMake-83784ed18bc2b6edcfb9400c350562356ef554f2.tar.gz
CMake-83784ed18bc2b6edcfb9400c350562356ef554f2.tar.bz2
bootstrap: remove leftover empty variable dereference
This was missed in 9c0d1e7531edbebc7943d5b981353b17631ed632 when the for loop that used this as loop variable was removed.
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap2
1 files changed, 1 insertions, 1 deletions
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.