findutils.patch 467 B

123456789101112131415161718192021
  1. Index: locate/updatedb.sh
  2. --- locate/updatedb.sh.orig 2005-06-19 11:11:59 +0200
  3. +++ locate/updatedb.sh 2005-06-21 20:59:47 +0200
  4. @@ -136,6 +136,7 @@
  5. : ${LOCATE_DB=@LOCATE_DB@}
  6. # Directory to hold intermediate files.
  7. +if [ ".$TMPDIR" = . ]; then
  8. if test -d /var/tmp; then
  9. : ${TMPDIR=/var/tmp}
  10. elif test -d /usr/tmp; then
  11. @@ -143,7 +144,7 @@
  12. else
  13. : ${TMPDIR=/tmp}
  14. fi
  15. -export TMPDIR
  16. +fi
  17. # The user to search network directories as.
  18. : ${NETUSER=daemon}