Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion patch/patch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,12 @@ apply_patch() {
ver="$4"

dir="$root/bundle/$repo-$ver"
cd "$dir" || failed_to_cd "$dir"
pushd "$dir" || failed_to_cd "$dir"
for patch in "$patch_dir/$repo"-*.patch; do
echo "Start to patch $patch to $dir..."
patch -p0 --verbose < "$patch"
done
popd
}

if [[ $# != 1 ]]; then
Expand Down