diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2017-11-29 20:52:12 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2017-11-29 21:30:57 +0530 |
commit | abcace7ee14a28e7f79329a41f5ae49533cbcd0d (patch) | |
tree | 42a1aab275934ecbd6433a929118a69f1095029d /mesonbuild/compilers/c.py | |
parent | 120f7a4c4009990b2eed70ffbf019b5f7daf8268 (diff) | |
download | meson-abcace7ee14a28e7f79329a41f5ae49533cbcd0d.zip meson-abcace7ee14a28e7f79329a41f5ae49533cbcd0d.tar.gz meson-abcace7ee14a28e7f79329a41f5ae49533cbcd0d.tar.bz2 |
dependencies: Fix parsing of shebangs with spaces
While finding an external program, we should only split the shebang
once since that is what Linux and BSD also do. This is also why
everyone uses #!/usr/bin/env in their shebangs since that allows
you to run an interpreter in a path with spaces in it.
See `man execve` for more details, specifically the sections for
interpreter scripts.
Diffstat (limited to 'mesonbuild/compilers/c.py')
0 files changed, 0 insertions, 0 deletions