Skip to content

Commit 0bfc209

Browse files
fix: use DATA_DIR for postStartCommand script
Signed-off-by: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com>
1 parent e93729c commit 0bfc209

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/rust/devcontainer-feature.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// ref: https://github.com/devcontainers/spec/blob/main/schemas/devContainerFeature.schema.json
22
{
33
"id": "rust",
4-
"version": "7.1.1",
4+
"version": "7.1.2",
55
"name": "Development Container Feature - Rust",
66
"documentationURL": "https://github.com/georglauterbach/dev-container-features/tree/main/src/rust",
77
"description": "Work efficiently and effortlessly with the Rust programming language",

src/rust/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ function linker_install_mold() {
247247
function setup_post_start_command() {
248248
log 'info' 'Setting up postStartCommand script'
249249

250-
local SCRIPT_FILE="${CURRENT_DIR}/post_start_command.sh"
250+
local SCRIPT_FILE="${DATA_DIR}/post_start_command.sh"
251251
readonly SCRIPT_FILE
252252

253253
cp "${CURRENT_DIR}/post_start_command.sh" "${SCRIPT_FILE}"

0 commit comments

Comments
 (0)