pixel: Remove unused tmp_dir from build-desc-fingerprint.sh
Change-Id: I5a102f47b6d4450458781bc8b3928ead40820882
This commit is contained in:
committed by
Michael Bestas
parent
0038a97c5b
commit
a6ee1c2396
@@ -22,7 +22,6 @@ set -euo pipefail
|
||||
### TRAPS ###
|
||||
|
||||
# trap signals for clean exit
|
||||
trap 'rm -rf ${tmp_dir} && exit $?' EXIT
|
||||
trap 'error_m interrupted!' SIGINT
|
||||
|
||||
### CONSTANTS ###
|
||||
@@ -30,8 +29,6 @@ readonly script_path="$(cd "$(dirname "$0")";pwd -P)"
|
||||
readonly vars_path="${script_path}/../../../vendor/lineage/vars"
|
||||
readonly top="${script_path}/../../.."
|
||||
|
||||
readonly tmp_dir="${TMPDIR:-/tmp}/pixel"
|
||||
|
||||
source "${vars_path}/pixels"
|
||||
|
||||
## HELP MESSAGE (USAGE INFO)
|
||||
@@ -55,7 +52,6 @@ help_message() {
|
||||
}
|
||||
|
||||
main() {
|
||||
mkdir -p "${tmp_dir}"
|
||||
if [[ $# -ne 0 ]]; then
|
||||
local ds="${@}"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user