diff -u --recursive ncbi-blast-2.9.0+-src/scripts/common/impl/collect_outside_libs.sh ncbi-blast-2.9.0+-src.patched/scripts/common/impl/collect_outside_libs.sh --- ncbi-blast-2.9.0+-src/scripts/common/impl/collect_outside_libs.sh 2014-08-01 22:01:17.000000000 +0800 +++ ncbi-blast-2.9.0+-src.patched/scripts/common/impl/collect_outside_libs.sh 2019-05-15 12:40:44.145239480 +0800 @@ -1,8 +1,5 @@ #!/bin/sh set -e -PATH=/bin:/usr/bin -export PATH -unset CDPATH base=$1 search=`echo ${2-$LD_LIBRARY_PATH} | tr : ' '` diff -u --recursive ncbi-blast-2.9.0+-src/scripts/common/impl/create_flat_tuneups.sh ncbi-blast-2.9.0+-src.patched/scripts/common/impl/create_flat_tuneups.sh --- ncbi-blast-2.9.0+-src/scripts/common/impl/create_flat_tuneups.sh 2011-08-17 02:55:10.000000000 +0800 +++ ncbi-blast-2.9.0+-src.patched/scripts/common/impl/create_flat_tuneups.sh 2019-05-15 12:40:48.449276574 +0800 @@ -1,9 +1,6 @@ #!/bin/sh id='$Id: create_flat_tuneups.sh 331412 2011-08-16 18:55:10Z ucko $' -PATH=/bin:/usr/bin -export PATH - exec > auto_flat_tuneups.mk cat < "$status_file") 2>&1 \ + ("$@"; echo $? > "$status_file") 2>&1 \ | tee "$logfile.new" # Emulate egrep -q to avoid having to move from under scripts. if [ ! -f "$logfile" ] \ @@ -58,8 +54,6 @@ status=1 fi else - PATH=$orig_PATH - export PATH "$@" status=$? fi diff -u --recursive ncbi-blast-2.9.0+-src/scripts/common/impl/strip_for_install.sh ncbi-blast-2.9.0+-src.patched/scripts/common/impl/strip_for_install.sh --- ncbi-blast-2.9.0+-src/scripts/common/impl/strip_for_install.sh 2013-09-24 03:06:51.000000000 +0800 +++ ncbi-blast-2.9.0+-src.patched/scripts/common/impl/strip_for_install.sh 2019-05-15 12:40:13.272975092 +0800 @@ -1,8 +1,5 @@ #!/bin/sh -PATH=/bin:/usr/bin:/usr/ccs/bin -export PATH - case "$1" in --dirs ) shift --- ncbi-blast-2.9.0+-src/scripts/common/impl/update_configurable.sh 2017-07-13 22:53:24.000000000 +0800 +++ ncbi-blast-2.9.0+-src.patched/scripts/common/impl/update_configurable.sh 2019-05-15 15:03:35.861276083 +0800 @@ -1,6 +1,4 @@ #!/bin/sh -PATH=/bin:/usr/bin -export PATH script_name=`basename $0` script_dir=`dirname $0` --- ncbi-blast-2.9.0+-src/src/build-system/Makefile.mk.in 2019-01-04 01:38:37.000000000 +0800 +++ ncbi-blast-2.9.0+-src.patched/src/build-system/Makefile.mk.in 2019-05-15 15:14:41.749416495 +0800 @@ -50,12 +50,12 @@ ### Auxiliary commands, filters -RM = /bin/rm -f -RMDIR = /bin/rm -rf -COPY = /bin/cp -p +RM = rm -f +RMDIR = rm -rf +COPY = cp -p BINCOPY = @BINCOPY@ TOUCH = @TOUCH@ -MKDIR = /bin/mkdir +MKDIR = mkdir BINTOUCH = $(TOUCH) LN_S = @LN_S@ GREP = @GREP@ --- ncbi-blast-2.9.0+-src/src/build-system/configure 2019-03-05 00:49:08.000000000 +0800 +++ ncbi-blast-2.9.0+-src.patched/src/build-system/configure 2019-05-15 16:55:40.711795042 +0800 @@ -10417,4 +10417,0 @@ -case "$LN_S" in - /*) ;; - * ) LN_S=/bin/$LN_S ;; -esac