UTPassMirror/third/clean.sh

12 lines
230 B
Bash
Executable File

#!/bin/sh
SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )"
for LIB in "gnupg" "gpgme" "libassuan" "libgpg-error"
do
echo $LIB
cd $SCRIPTPATH/$LIB && git clean -xdf && git reset --hard HEAD
done
rm -rf $SCRIPTPATH/../local