forked from knowhow/F18_knowhow
-
Notifications
You must be signed in to change notification settings - Fork 1
/
run_in_eshell.sh
executable file
·47 lines (27 loc) · 934 Bytes
/
run_in_eshell.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
#!/bin/bash
ESHELL_F18_DIR="$HOME/.eShell-dev/extensions/F18"
# codium
ESHELL_F18_DIR="$HOME/.vscode-oss/extensions/F18"
F18_INSTALLED_ALREADY=`ls -d $ESHELL_F18_DIR/F18-linux-x64-*`
CURRENTDIR=`pwd`
echo F18 installed in eShell: $F18_INSTALLED_ALREADY
echo "eShell-dev F18 provjera nove verzije iskljuciti !"
PATH=$F18_INSTALLED_ALREADY:$PATH
#konflikt sa eShell openssl LD_LIBRARY_PATH=$F18_INSTALLED_ALREADY:$LD_LIBRARY_PATH
F18_0_DIR=$ESHELL_F18_DIR/F18_0
for f in libcrypto.so libcurl.so libpq.so libssl.so libz.so
do
echo "ln -sf ${F18_INSTALLED_ALREADY}/$f $F18_0_DIR"
ln -sf ${F18_INSTALLED_ALREADY}/$f $F18_0_DIR
done
ls -l $F18_0_DIR/*.so
if [[ ! -d "${F18_0_DIR}" ]] ; then
echo F18_0_DIR=${F18_0_DIR} ne postoji
mkdir -p ${F18_0_DIR}
fi
chmod +w ${F18_0_DIR}/F18-klijent
cp -av F18-klijent ${F18_0_DIR}/F18-klijent
#cd ../eShell
#LD_LIBRARY_PATH= scripts/code.sh
#cd $CURRENTDIR
codium