#!/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"