-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathenvsetup.sh
More file actions
executable file
·29 lines (23 loc) · 817 Bytes
/
envsetup.sh
File metadata and controls
executable file
·29 lines (23 loc) · 817 Bytes
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
#!/usr/bin/env bash
#
# Copyright (C) 2019 nysascape
#
# Licensed under the Raphielscape Public License, Version 1.d (the "License");
# you may not use this file except in compliance with the License.
#
# Probably the 3rd bad apple coming
# Enviroment variables
# Export KERNELDIR as en environment-wide thingy
# We start in scripts, so like, don't clone things there
KERNELDIR="$(pwd)"
SCRIPTS=${KERNELDIR}/kernelscripts
OUTDIR=${KERNELDIR}/out
# Pick your poison
git clone https://github.com/kdrag0n/proton-clang --depth=1 "${KERNELDIR}"/clang
COMPILER_STRING='Proton Clang (latest)'
COMPILER_TYPE='clang'
export COMPILER_STRING COMPILER_TYPE KERNELDIR SCRIPTS OUTDIR
git clone https://github.com/fabianonline/telegram.sh/ telegram
# Export Telegram.sh
TELEGRAM=${KERNELDIR}/telegram/telegram
export TELEGRAM