blob: 91b685e2b3524d95783d9047aa1263992c2f61d0 (
plain)
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
|
#!/bin/sh
echo "Starting the deactivation and clearing process"
# echo "Deactivating the venv"
#
# deactivate
#
# res_code=$?
#
# if [ $res_code -ne 0 ];
# then
# echo "failed to deactivate the venv"
# return;
# fi
rm -r venv
res_code=$?
if [ $res_code -ne 0 ];
then
echo "failed to delete the venv directory"
return;
fi
echo "venv correctly cleared at $PWD"
|