forked from pgEdge/cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathenv.sh
executable file
·92 lines (72 loc) · 1.05 KB
/
env.sh
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
bundle=pgedge
api=ctl
hubV=24.1.4
ctlibsV=1.1
spock32V=3.2.2-1
spock31V=3.1.8-1
foslotsV=1a-1
snwflkV=1.1-1
vectorV=0.5.1-1
pgedgeV=2.08
P17=17devel-2
P16=16.1-1
P15=15.5-1
P14=14.10-1
P13=13.13-1
P12=12.17-1
catV=1.1.1
firwldV=1.2
adminV=7-1
postgrestV=11.2.0-1
prompgexpV=0.11.1
backrestV=2.48-1
readonlyV=1.1.1-1
curlV=2.1.1-1
citusV=12.1.0-1
oraclefdwV=2.6.0-1
inclV=21.6
orafceV=4.5.0-1
ora2pgV=23.1
v8V=3.2.0-1
hypoV=1.4.0-1
timescaleV=2.11.2-1
logicalV=2.4.4-1
profV=4.2.4-1
bulkloadV=3.1.19-1
partmanV=4.7.4-1
repackV=1.4.8-1
hint15V=1.5.1-1
hint16V=1.6.0-1
stazV=3.1.2.2
etcdV=3.5.9
audit15V=1.7.0-1
audit16V=16.0-1
postgisV=3.4.0-1
pljavaV=1.6.4-1
debuggerV=1.6-1
cronV=1.6.2-1
HUB="$PWD"
SRC="$HUB/src"
zipOut="off"
isENABLED=false
pg="postgres"
OS=`uname -s`
OS=${OS:0:7}
if [[ $OS == "Linux" ]]; then
if [ `arch` == "aarch64" ]; then
OS=arm
outDir=a64
else
OS=amd;
outDir=l64
fi
sudo="sudo"
elif [[ $OS == "Darwin" ]]; then
outDir=m64
OS=osx;
sudo=""
else
echo "ERROR: '$OS' is not supported"
return
fi
plat=$OS