mirror of
https://github.com/QRouland/UTPass.git
synced 2025-01-24 23:56:39 +00:00
15 lines
316 B
Bash
Executable File
15 lines
316 B
Bash
Executable File
#!/bin/bash
|
|
SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )"
|
|
|
|
if [ ! -z "$1" ] && [ -d $SCRIPTPATH/../../build/$1/gpg ]; then
|
|
rm -rf $SCRIPTPATH/../../build/$1/gpg
|
|
fi
|
|
|
|
git submodule update --init --recursive
|
|
|
|
for LIB in $SCRIPTPATH/*/
|
|
do
|
|
echo $LIB
|
|
cd $LIB && git clean -xdf && git reset --hard HEAD
|
|
done
|