Skip to content

Commit 15f8eae

Browse files
committed
refactor: remove v prefix from squid major version in patch path
1 parent 8f8c536 commit 15f8eae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ RUN SQUID_MAJOR_VERSION="${SQUID_VERSION%%.*}" && \
3737
SQUID_REST="${SQUID_VERSION#${SQUID_MAJOR_VERSION}}" && \
3838
SQUID_REST="${SQUID_REST#.}" && \
3939
IFS='.' read -r SQUID_MINOR_VERSION SQUID_PATCH_VERSION _extra <<< "$SQUID_REST" && \
40-
PATCH_BASE_DIR="/src/patch/v${SQUID_MAJOR_VERSION}" && \
40+
PATCH_BASE_DIR="/src/patch/${SQUID_MAJOR_VERSION}" && \
4141
if [[ -d "$PATCH_BASE_DIR" ]]; then \
4242
echo "Searching patches under $PATCH_BASE_DIR" && \
4343
shopt -s nullglob && \

0 commit comments

Comments
 (0)