diff --git a/rpm/nsd-app-wrap.spec b/rpm/nsd-app-wrap.spec index 40219da3b349fc4e6c3aa2a45fbaeca5a48907b9..953615631be802fa7d9653858321c9da9602d4f0 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 diff --git a/src/nsd-app-wrap.sh b/src/nsd-app-wrap.sh index ae0f4fb6ac4f47aaa27b266199efe96638b5d375..cbcd315edbd5671e2b502f7f9ff6a4f374e29edd 100755 --- a/src/nsd-app-wrap.sh +++ b/src/nsd-app-wrap.sh @@ -107,8 +107,8 @@ pixi_launch() { path_to_manifest="${PIXI_PREFIX%/}/${PIXI_ENV}" - # Verify path_to_manifest works - if [ ! -f "${path_to_manifest}" ]; then + # Verify path_to_manifest directory exists + if [ ! -d "${path_to_manifest}" ]; then echo "No pixi environment found at ${path_to_manifest}" exit 1 fi