mirror of https://github.com/apache/lucene.git
SOLR-346: second attempt as first one didn't work
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@750048 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4d72e1806c
commit
a3cd72c830
|
@ -110,7 +110,7 @@ logMessage started by $oldwhoami
|
||||||
logMessage command: $0 $@
|
logMessage command: $0 $@
|
||||||
|
|
||||||
# get directory name of latest snapshot
|
# get directory name of latest snapshot
|
||||||
name=`perl -e 'chdir q|${data_dir}|; print ((sort grep {/^snapshot[.][1-9][0-9]{13}$/} <*>)[-1])'`
|
name=`perl -e 'chdir q|'${data_dir}'|; print ((sort grep {/^snapshot[.][1-9][0-9]{13}$/} <*>)[-1])'`
|
||||||
|
|
||||||
# clean up after INT/TERM
|
# clean up after INT/TERM
|
||||||
trap 'echo "caught INT/TERM, exiting now but partial installation may have already occured";/bin/rm -rf ${data_dir"/index.tmp$$;logExit aborted 13' INT TERM
|
trap 'echo "caught INT/TERM, exiting now but partial installation may have already occured";/bin/rm -rf ${data_dir"/index.tmp$$;logExit aborted 13' INT TERM
|
||||||
|
|
Loading…
Reference in New Issue