Refactor: Use rpid will all default parameters

This commit is contained in:
Narvin Singh 2021-01-04 14:55:45 -05:00
parent 1516ff1550
commit fdeb1696d0
2 changed files with 2 additions and 2 deletions

2
avdd
View File

@ -44,7 +44,7 @@ DEFAULT_SEP_L='| '
DEFAULT_SEP_R=' ' DEFAULT_SEP_R=' '
DEFAULT_SUF=' ' DEFAULT_SUF=' '
MOD_DIR="$(dirname "$0")"/mod MOD_DIR="$(dirname "$0")"/mod
FIFO=/tmp/avdd-fifo-"$("$(dirname "$0")"/rpid $$)" FIFO=/tmp/avdd-fifo-"$("$(dirname "$0")"/rpid)"
mod_list="${1-${DEFAULT_MOD_LIST}}" mod_list="${1-${DEFAULT_MOD_LIST}}"

2
avds
View File

@ -44,7 +44,7 @@ EXAMPLES:
avds 'bat,dt' m true avds 'bat,dt' m true
" "
DAEMON=avdd DAEMON=avdd
FIFO=/tmp/"${DAEMON}"-fifo-"$("$(dirname "$0")"/rpid $$)" FIFO=/tmp/"${DAEMON}"-fifo-"$("$(dirname "$0")"/rpid)"
# Convert integer milliseconds to floating point seconds # Convert integer milliseconds to floating point seconds
ms_to_s () { ms_to_s () {