X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=bin%2Fslocate;h=43e1eb2e2a0a317d8d055bc739d0247a3be02225;hb=33826e397bdecbdcef6d8d04b944733676b794e1;hp=c1ce8a4fc520ce33de89c15d17208d803390d3be;hpb=84070f8a120aa198d271b9192d746eed0843b9d8;p=config%2Fdotfiles.git diff --git a/bin/slocate b/bin/slocate index c1ce8a4..43e1eb2 100755 --- a/bin/slocate +++ b/bin/slocate @@ -2,7 +2,7 @@ # Search only in the local `locate` database. Created with `supdatedb`. -# Copyright (C) 2012-2013 Simon Ruderich +# Copyright (C) 2012-2014 Simon Ruderich # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -18,4 +18,6 @@ # along with this program. If not, see . +set -eu + exec locate -d "$HOME/.tmp/locatedb" "$@"