From c58382e76c9aa450b3afdc4cbb9024343321333a Mon Sep 17 00:00:00 2001 From: "Petras, Randy" Date: Mon, 29 Sep 2025 16:06:52 +0000 Subject: [PATCH 1/3] changind -f check to -d check --- src/nsd-app-wrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nsd-app-wrap.sh b/src/nsd-app-wrap.sh index ae0f4fb..3d7bf53 100755 --- a/src/nsd-app-wrap.sh +++ b/src/nsd-app-wrap.sh @@ -108,7 +108,7 @@ pixi_launch() { path_to_manifest="${PIXI_PREFIX%/}/${PIXI_ENV}" # Verify path_to_manifest works - if [ ! -f "${path_to_manifest}" ]; then + if [ ! -d "${path_to_manifest}" ]; then echo "No pixi environment found at ${path_to_manifest}" exit 1 fi -- GitLab From 18666ea87868a2d752bcf63626c51841b5badd70 Mon Sep 17 00:00:00 2001 From: "Petras, Randy" Date: Mon, 29 Sep 2025 16:07:14 +0000 Subject: [PATCH 2/3] Update file nsd-app-wrap.spec --- rpm/nsd-app-wrap.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpm/nsd-app-wrap.spec b/rpm/nsd-app-wrap.spec index 40219da..9536156 100644 --- a/rpm/nsd-app-wrap.spec +++ b/rpm/nsd-app-wrap.spec @@ -1,5 +1,5 @@ Name: nsd-app-wrap -Version: 2.7 +Version: 2.8 Release: 1%{?dist} Summary: Wrapper scripts to launch python applications installed via anaconda Vendor: Peter F. Peterson -- GitLab From 50fc0a0fb27b9e6c0cb13dc44c4e7bede3d6b007 Mon Sep 17 00:00:00 2001 From: "Petras, Randy" Date: Mon, 29 Sep 2025 17:36:56 +0000 Subject: [PATCH 3/3] update comment --- src/nsd-app-wrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nsd-app-wrap.sh b/src/nsd-app-wrap.sh index 3d7bf53..cbcd315 100755 --- a/src/nsd-app-wrap.sh +++ b/src/nsd-app-wrap.sh @@ -107,7 +107,7 @@ pixi_launch() { path_to_manifest="${PIXI_PREFIX%/}/${PIXI_ENV}" - # Verify path_to_manifest works + # Verify path_to_manifest directory exists if [ ! -d "${path_to_manifest}" ]; then echo "No pixi environment found at ${path_to_manifest}" exit 1 -- GitLab