Skip to content

Commit

Permalink
Fix rapids-select-cmake-define arg parsing (#255)
Browse files Browse the repository at this point in the history
* fix select-cmake-define argument parsing when passed long options

* bump feature version
  • Loading branch information
trxcllnt authored Apr 2, 2024
1 parent 39d3aec commit 686d62a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion features/src/rapids-build-utils/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "NVIDIA RAPIDS devcontainer build utilities",
"id": "rapids-build-utils",
"version": "24.4.6",
"version": "24.4.7",
"description": "A feature to install the RAPIDS devcontainer build utilities",
"containerEnv": {
"BASH_ENV": "/etc/bash.bash_env"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ parse_cmake_define() {
local val;
local def="$1"; shift;

eval "$(devcontainer-utils-parse-args <(echo -e "\n# -D <def>") "$@" <&0)";
eval "$(devcontainer-utils-parse-args <(echo -e "\n# -D <def>\n# --D <def>") "$@" <&0)";

# shellcheck disable=SC1091
. devcontainer-utils-debug-output 'rapids_build_utils_debug' 'select-cmake-define';
Expand Down

0 comments on commit 686d62a

Please sign in to comment.