UTPassMirror/third/clean.sh

14 lines
301 B
Bash
Raw Normal View History

2019-03-13 18:38:12 +00:00
#!/bin/sh
SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )"
cd $SCRIPTPATH && rm -rf build
git submodule update --init --recursive
2019-03-18 07:10:58 +00:00
for LIB in "gnupg" "gpgme" "libassuan" "libgpg-error"
do
echo $LIB
cd $SCRIPTPATH/$LIB && git clean -xdf && git reset --hard HEAD
done
2019-03-13 18:38:12 +00:00
rm -rf $SCRIPTPATH/../local