Skip to content

Commit 9c7238d

Browse files
authored
Fixes job submitting for the cluster then an intended image is given (#1296)
# Description The path to check if the first passed argument is a container profile included the wrong path. This PR fixes the path. ## Type of change - Bug fix (non-breaking change which fixes an issue) ## Checklist - [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with `./isaaclab.sh --format` - [ ] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [x] I have updated the changelog and the corresponding version in the extension's `config/extension.toml` file - [x] I have added my name to the `CONTRIBUTORS.md` or my name already exists there
1 parent bf68943 commit 9c7238d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/cluster/cluster_interface.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ case $command in
177177
job)
178178
if [ $# -ge 1 ]; then
179179
passed_profile=$1
180-
if [ -f ".env.$passed_profile" ]; then
180+
if [ -f "$SCRIPT_DIR/../.env.$passed_profile" ]; then
181181
profile=$passed_profile
182182
shift
183183
fi

0 commit comments

Comments
 (0)