فهرست منبع

ncd: Run parse_linux_input.sh with bash, instead of relying on the shebang.
This removes the need to fixup the shebang in Nix builds.

Ambroz Bizjak 11 سال پیش
والد
کامیت
f282fbf4d2
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      ncd/CMakeLists.txt

+ 1 - 1
ncd/CMakeLists.txt

@@ -174,7 +174,7 @@ if (BADVPN_USE_LINUX_INPUT)
 
     message(STATUS "Generating linux_input_names.h from ${LINUX_INPUT_H_PATH}")
 
-    execute_process(COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/parse_linux_input.sh 
+    execute_process(COMMAND bash ${CMAKE_CURRENT_SOURCE_DIR}/parse_linux_input.sh 
                             ${LINUX_INPUT_H_PATH}
                             ${CMAKE_CURRENT_BINARY_DIR}/linux_input_names.h
                     RESULT_VARIABLE LINUX_INPUT_PARSE_RESULT)