Signed-off-by: Marcin Woźniak <y0rune@aol.com>
This commit is contained in:
2020-09-27 00:39:03 +02:00
parent f89554d807
commit 5e1d243c3e
3 changed files with 10 additions and 4 deletions

View File

@ -14,7 +14,7 @@
function scanning(){
EUSCAN=$(euscan --nocolor --quiet "$1")
if [ -n "$EUSCAN" ]; then
echo "=============== NOW: $(find ./* -mindepth 2 -maxdepth 2 -name ''"$1"'*.ebuild' | tail -1) =================
echo "=============== NOW: $(find ./* -mindepth 2 -maxdepth 2 -name ''"$1"'*.ebuild' | sort | tail -1) =================
$(echo -e "$EUSCAN" | tail -1)"
fi
}

View File

@ -10,4 +10,4 @@ done
echo
read -p 'Select number to show logs: ' NUMBER
sudo tail -f ${LOGS[$NUMBER]} | ccze -A
sudo tail -f ${LOGS[$NUMBER]}