Project Chimera
Меню

Исходники

13 строк · 1 КиБ

tools/env-dump-harness/baseline-dump.sh

1#!/usr/bin/env bash
2# Captures the ambient environment run-dump.sh would start from, WITHOUT
3# sourcing sw_runlib -- used to compute the diff ("what did sw_runlib
4# actually touch") against run-dump.sh's output, so ambient noise (TERM,
5# DISPLAY, HOME, the pre-existing PATH, ...) doesn't get compared as if it
6# were something sw_runlib or chl-runtime were responsible for. See
7# compare.py and README.md in this directory.
8set -uo pipefail
9HERE="$(cd "$(dirname "$(readlink -f "$0")")" && pwd)"
10export SW_LOCALE="${SW_LOCALE:-ru_RU}"
11export PATH="$HERE/stub-bin:$PATH"
12env | sort
13