use difft glob for cores

This commit is contained in:
Anthony Minessale 2012-10-10 10:19:40 -05:00
parent a7cb382e12
commit 7166de4ab0
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ else
fi
core=`ls -1t core.* | head -1 2> /dev/null`
core=`ls -1t core* | head -1 2> /dev/null`
if [ -z "$core" ] ; then
core=`ls -1 core 2> /dev/null`