View | Details | Raw Unified | Return to bug 41389
Collapse All | Expand All

(-)locate.mklocatedb (-2 / +1 lines)
Lines 83-90 Link Here
83
else
83
else
84
    if $sortcmd $sortopt > $filelist; then
84
    if $sortcmd $sortopt > $filelist; then
85
        $bigram < $filelist | $sort -nr | 
85
        $bigram < $filelist | $sort -nr | 
86
	perl -ne '/^\s*[0-9]+\s(..)$/ && print $1 || exit 1' > $bigrams 
86
	perl -ne '/^\s*[0-9]+\s(..)$/ && print $1 || exit 1' > $bigrams || exit 1
87
	    || exit 1
88
        $code $bigrams < $filelist || exit 1
87
        $code $bigrams < $filelist || exit 1
89
    else
88
    else
90
        echo "`basename $0`: cannot build locate database" >&2
89
        echo "`basename $0`: cannot build locate database" >&2

Return to bug 41389