Loading rpm/nsd-app-wrap.spec +1 −2 Original line number Diff line number Diff line Name: nsd-app-wrap Version: 2.4 Version: 2.5 Release: 1%{?dist} Summary: Wrapper scripts to launch python applications installed via anaconda Vendor: Peter F. Peterson Loading Loading @@ -27,7 +27,6 @@ mkdir -p %{buildroot}%{_bindir}/ install -m 755 addie %{buildroot}%{_bindir}/ install -m 755 data2config %{buildroot}%{_bindir}/ install -m 755 drtsans %{buildroot}%{_bindir}/ install -m 755 expgui %{buildroot}%{_bindir}/ install -m 755 gsas2 %{buildroot}%{_bindir}/ install -m 755 hyspecppt %{buildroot}%{_bindir}/ install -m 755 ibeatles %{buildroot}%{_bindir}/ Loading src/expguideleted 100644 → 0 +0 −31 Original line number Diff line number Diff line #!/bin/bash __main() { # EXPGUI needs to run outside the context of conda. This wrapper # script excises any conda related paths from the user's PATH # environment variable to invoke the runtime application. local readonly path_outset="$PATH" local path_revised conda_root conda_root="/opt/anaconda" # read conda environment vars to determine the root prefix if [[ -n "$CONDA_PREFIX_1" ]] ; then conda_root="$CONDA_PREFIX_1" elif [[ -n "$CONDA_PREFIX" ]] ; then conda_root="$CONDA_PREFIX" fi # remove conda_root from PATH read -a path_revised <<< $( echo ${path_outset} | tr ':' '\n' | sort | uniq \ | grep -v "^${conda_root}" | tr '\n' ':' | sed 's/:$//g' \ ) # use inline variable assignment to set PATH # when invoking the EXPGUI runtime PATH="${path_revised}" /SNS/software/gsas/expgui/expgui "$@" } __main "$@" Loading
rpm/nsd-app-wrap.spec +1 −2 Original line number Diff line number Diff line Name: nsd-app-wrap Version: 2.4 Version: 2.5 Release: 1%{?dist} Summary: Wrapper scripts to launch python applications installed via anaconda Vendor: Peter F. Peterson Loading Loading @@ -27,7 +27,6 @@ mkdir -p %{buildroot}%{_bindir}/ install -m 755 addie %{buildroot}%{_bindir}/ install -m 755 data2config %{buildroot}%{_bindir}/ install -m 755 drtsans %{buildroot}%{_bindir}/ install -m 755 expgui %{buildroot}%{_bindir}/ install -m 755 gsas2 %{buildroot}%{_bindir}/ install -m 755 hyspecppt %{buildroot}%{_bindir}/ install -m 755 ibeatles %{buildroot}%{_bindir}/ Loading
src/expguideleted 100644 → 0 +0 −31 Original line number Diff line number Diff line #!/bin/bash __main() { # EXPGUI needs to run outside the context of conda. This wrapper # script excises any conda related paths from the user's PATH # environment variable to invoke the runtime application. local readonly path_outset="$PATH" local path_revised conda_root conda_root="/opt/anaconda" # read conda environment vars to determine the root prefix if [[ -n "$CONDA_PREFIX_1" ]] ; then conda_root="$CONDA_PREFIX_1" elif [[ -n "$CONDA_PREFIX" ]] ; then conda_root="$CONDA_PREFIX" fi # remove conda_root from PATH read -a path_revised <<< $( echo ${path_outset} | tr ':' '\n' | sort | uniq \ | grep -v "^${conda_root}" | tr '\n' ':' | sed 's/:$//g' \ ) # use inline variable assignment to set PATH # when invoking the EXPGUI runtime PATH="${path_revised}" /SNS/software/gsas/expgui/expgui "$@" } __main "$@"