From 3165202591652d1266d939aeb412a90fd045c2e3 Mon Sep 17 00:00:00 2001 From: Didgeridoohan Date: Wed, 26 Feb 2020 23:51:23 +0100 Subject: [PATCH] Another quick fix --- common/util_functions.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/util_functions.sh b/common/util_functions.sh index 07b40af..98e3105 100644 --- a/common/util_functions.sh +++ b/common/util_functions.sh @@ -241,6 +241,7 @@ APILVL=" # List of aliases to set from Busybox ALIASLIST=" +awk cat cp cut @@ -1245,7 +1246,7 @@ print_files() { log_handler "Creating files." for OEM in $OEMLIST; do echo -e "PRINTSLIST=\"" >> $MODPATH/printfiles/${OEM}\.sh - grep $OEM >> $MODPATH/printfiles/${OEM}\.sh $MODPATH/common/prints.sh + awk "/^$OEM/" $MODPATH/common/prints.sh >> $MODPATH/printfiles/${OEM}\.sh echo -e "\"" >> $MODPATH/printfiles/${OEM}\.sh done # Check for updated fingerprint