Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5de98b4f authored by Ruchi Kandoi's avatar Ruchi Kandoi Committed by Andre Eisenbach
Browse files

scripts: modify change_types.sh to skip matching "<data type>_"



Script erroronously modifies UINT8_TO_BE_STREAM() to
uint8_t_TO_BE_STREAM(). Modidy the script to prevent that.

Test: Manual; Run the script on system/nfc
Change-Id: I9e130b8eb79e400282233fad7da206b4bb1301af
Signed-off-by: default avatarRuchi Kandoi <kandoiruchi@google.com>
parent e2d64d8a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -55,7 +55,7 @@ function process_file
    after=${tt#*:}

    echo -n "."
    sed -i -e "s/\b${before}/${after}/g" "$1"
    sed -i -e "s/\b${before}/${after}/g; s/${after}_/${before}_/g;" "$1"
  done
  echo
}