Skip to content
Snippets Groups Projects
Commit cd8176ec authored by Marcel Loose's avatar Marcel Loose :sunglasses:
Browse files

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
No related branches found
No related tags found
No related merge requests found
...@@ -96,9 +96,9 @@ else ...@@ -96,9 +96,9 @@ else
# Add the path to the standard paths. # Add the path to the standard paths.
if (! $?PATH) then if (! $?PATH) then
setenv PATH $LOFARROOT/bin:$LOFARROOT/sbin setenv PATH $LOFARROOT/sbin:$LOFARROOT/bin
else else
setenv PATH $LOFARROOT/bin:$LOFARROOT/sbin:$PATH setenv PATH $LOFARROOT/sbin:$LOFARROOT/bin:$PATH
endif endif
if (! $?LD_LIBRARY_PATH) then if (! $?LD_LIBRARY_PATH) then
setenv LD_LIBRARY_PATH $LOFARROOT/$lfr_libdir setenv LD_LIBRARY_PATH $LOFARROOT/$lfr_libdir
......
...@@ -95,9 +95,9 @@ if [ "$LOFARROOT" = "" -o ! -d $LOFARROOT ]; then ...@@ -95,9 +95,9 @@ if [ "$LOFARROOT" = "" -o ! -d $LOFARROOT ]; then
else else
# Add the path to the standard paths. # Add the path to the standard paths.
if [ "$PATH" = "" ]; then if [ "$PATH" = "" ]; then
PATH=$LOFARROOT/bin:$LOFARROOT/sbin PATH=$LOFARROOT/sbin:$LOFARROOT/bin
else else
PATH=$LOFARROOT/bin:$LOFARROOT/sbin:$PATH PATH=$LOFARROOT/sbin:$LOFARROOT/bin:$PATH
fi fi
export PATH export PATH
if [ "$LD_LIBRARY_PATH" = "" ]; then if [ "$LD_LIBRARY_PATH" = "" ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment