Files
rk35xx-android14/external/rappor/bin/decode-assoc
T
hmz007 36ed224bac Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a)
Signed-off-by: hmz007 <hmz007@gmail.com>
Change-Id: Ib87fdbe7a0be7dc961af3500fe9ea4589a127f9f
2024-10-29 18:12:02 +08:00

20 lines
510 B
Bash

#!/bin/bash
#
# Decode multidimensional reports.
#
# This is a tiny shell wrapper around R.
readonly THIS_DIR=$(dirname $0)
# NOTE: A trailing / is *required* on RAPPOR_REPO, because we use string
# concatenation to form the absolute path. (file.path() in R doesn't do what
# we want.)
readonly RAPPOR_REPO=$THIS_DIR/../
# RAPPOR_REPO is used by source() statements to find .R files.
export RAPPOR_REPO
# Make sure to reuse the same process so it can be killed easily.
exec $THIS_DIR/decode_assoc.R "$@"