Verified Commit 1b2b225b authored by Alberto Miranda's avatar Alberto Miranda ♨️
Browse files

dep_scripts: Fix wrong directory when applying patches (#184)

parent bec05bbb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -268,7 +268,7 @@ clonedeps() {

    # apply patch if provided
    if [[ -n "${PATCH}" ]]; then
        [[ "$DRY_RUN" == true ]] || git apply --verbose "${PATCH_DIR}/${PATCH}"
        [[ "$DRY_RUN" == true ]] || (cd "${SOURCE_DIR}/${FOLDER}" && git apply --verbose "${PATCH_DIR}/${PATCH}" )
    fi
}