aboutsummaryrefslogtreecommitdiff
path: root/board/common.sh
blob: ecda59da43f9904d209bc24333a2b12101f05597 (plain)
1
2
3
4
5
6
7
8
create_missing_dir() {
  test -d "${TARGET_DIR}/$1" || mkdir "${TARGET_DIR}/$1"
}

remove_text() {
  echo sed --in-place "s/$2//" $1
  sed --in-place "s/$2//" $1
}