-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathvars
41 lines (38 loc) · 782 Bytes
/
vars
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Vars
TOP=$(pwd)
if [ -d $HOME/tuhs ]; then
TUHS=$HOME/tuhs
else
TUHS=$TOP/tuhs
fi
UCB=$TUHS/Distributions/UCB
TOOLS=${TOP}/tools
TOOLBIN=$TOOLS/bin
APOUT_SRC=${TOOLS}/apout
APOUT=${APOUT_SRC}/apout
TAPE211=${TOP}/tape-2.11
ROOT211=${TOP}/root-2.11
TAPE2101=${TOP}/tape-2.10.1
ROOT2101=${TOP}/root-2.10.1
TAPEV7=${TUHS}/Distributions/Research/Henry_Spencer_v7/v7.tar.gz
ROOTV7=${TOP}/root-v7
PATCHSRC=${UCB}/2.11BSD/Patches
PATCHDIR=${TOP}/patches
HINTSDIR=${TOP}/hints
APOUT_ROOT=/
export TEMPDIR=${TOP}/tmp
LOGS=${TOP}/log
RECOVERY_LOG=${LOGS}/recovery.log
ROOT211TAR=$TOP/root-2.11.tar.xz
export SAVE=${TOP}/saveit
P80TESTDIR=${TOP}/p80-test
GITREPO=${TOP}/git-2.11
# Common routines
die() {
echo $*
exit 1
}
clean_tree() {
chmod -R +w $1
rm -rf $1
}