Verified Commit 9f63d7a9 authored by Peterson, Peter's avatar Peterson, Peter
Browse files

gsas2 doesn't have a pixi deploy environment

parent af630e84
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -27,7 +27,8 @@ 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 gsas2                                  %{buildroot}%{_bindir}/
# no pixi environment exists yet
#install -m 755 gsas2                                  {buildroot}{_bindir}/
install -m 755 hyspecppt                              %{buildroot}%{_bindir}/
install -m 755 ibeatles                               %{buildroot}%{_bindir}/
install -m 755 inspired                               %{buildroot}%{_bindir}/
+9 −12
Original line number Diff line number Diff line
#!/bin/sh

# select the environment to use
PIXI_ENVIRON=gsas2

# import library to do the real work
. "$(dirname "$(realpath "$0")")/nsd-app-wrap.sh" \
  || . /bin/nsd-app-wrap.sh

# put together arguments - conda_env, application, argv
args=("${PIXI_ENVIRON}" "start_gui" "$@")
# launch the tool
pixi_launch "${args[@]}"
######################################################################
# Currently this scipt is not used
######################################################################
exit 1

######################################################################
# remove a single # from each of the following lines
######################################################################
#"$(dirname "$(realpath "$0")")/nsd-conda-wrap.sh" gsas2 --classic /path/to/GSASII.py