Commit cd8176ec authored by Marcel Loose's avatar Marcel Loose 😎

Task #7727: The order of directories in PATH should be...

Task #7727: The order of directories in PATH should be $LOFARROOT/sbin:$LOFARROOT/bin; i.e. sbin should appear before bin.
parent b2a09611
......@@ -96,9 +96,9 @@ else
# Add the path to the standard paths.
if (! $?PATH) then
setenv PATH $LOFARROOT/bin:$LOFARROOT/sbin
setenv PATH $LOFARROOT/sbin:$LOFARROOT/bin
else
setenv PATH $LOFARROOT/bin:$LOFARROOT/sbin:$PATH
setenv PATH $LOFARROOT/sbin:$LOFARROOT/bin:$PATH
endif
if (! $?LD_LIBRARY_PATH) then
setenv LD_LIBRARY_PATH $LOFARROOT/$lfr_libdir
......
......@@ -95,9 +95,9 @@ if [ "$LOFARROOT" = "" -o ! -d $LOFARROOT ]; then
else
# Add the path to the standard paths.
if [ "$PATH" = "" ]; then
PATH=$LOFARROOT/bin:$LOFARROOT/sbin
PATH=$LOFARROOT/sbin:$LOFARROOT/bin
else
PATH=$LOFARROOT/bin:$LOFARROOT/sbin:$PATH
PATH=$LOFARROOT/sbin:$LOFARROOT/bin:$PATH
fi
export PATH
if [ "$LD_LIBRARY_PATH" = "" ]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment