From 571b4a2ffbf531ca88b6028cd8ec629de591c21c Mon Sep 17 00:00:00 2001 From: David Minton Date: Wed, 24 May 2023 13:13:20 -0400 Subject: [PATCH] Fixed issue in the environment variable setter, as it was only pointing to the directory and not the swiftest.sif file itself --- singularity/pull | 3 +-- singularity/setenv.sh | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) mode change 100644 => 100755 singularity/setenv.sh diff --git a/singularity/pull b/singularity/pull index 8946e4869..a62acaf6e 100755 --- a/singularity/pull +++ b/singularity/pull @@ -1,3 +1,2 @@ #!/bin/sh -- -singularity pull swiftest.sif docker://daminton/swiftest:latest -source ./setenv.sh \ No newline at end of file +singularity pull --force swiftest.sif docker://daminton/swiftest:latest diff --git a/singularity/setenv.sh b/singularity/setenv.sh old mode 100644 new mode 100755 index 769339754..79931a298 --- a/singularity/setenv.sh +++ b/singularity/setenv.sh @@ -1,3 +1,3 @@ #!/bin/sh # source this file to set the path to the swiftest.sif file -export SWIFTEST_SIF=${PWD} \ No newline at end of file +export SWIFTEST_SIF="${PWD}/swiftest.sif"