fi
rm -rf $DST_DIR
-mkdir -p $DST_DIR/src
-cp -r $SRC_DIR/src $DST_DIR/
+mkdir -p $DST_DIR/library
+cp -a $SRC_DIR/library $DST_DIR/
pushd $DST_DIR
echo "[GIT] init"
for file in $(ls ../../patches/ | grep -v patcha); do
echo "[GIT] apply" $file
git apply ../../patches/$file
-git commit --no-gpg-sign -am "Patch $file"
+git add -A
+git commit --no-gpg-sign -m "Patch $file"
done
popd