saturnng/dist/run_saturn

18 lines
606 B
Bash
Executable file

#!/bin/sh
#
# $Id: run_saturn,v 4.1 2000/12/11 09:54:19 cibrario Rel $
#
# This file allows you to run saturn directly from the build directory,
# without installing it; regular use is discouraged.
if [ ! -r Saturn ]; then ln -s Saturn.ad Saturn; fi
# Be sure that XUSERFILESEARCHPATH does not supersede XAPPLRESDIR (IRIX)
if [ "$XUSERFILESEARCHPATH" != "" ]; then
XUSERFILESEARCHPATH=./%L/%N:./%l/%N:./%N:$XUSERFILESEARCHPATH;
export XUSERFILESEARCHPATH;
fi
XAPPLRESDIR=.; export XAPPLRESDIR # Take resources from here
NLSPATH=./%N; export NLSPATH # Message catalog is here, too
./saturn $*