Skip to content

Cache repeated path in TFX SDK package-build init script - #1

Open
MaddipatlaChetan24 wants to merge 1 commit into
dmiltr3:masterfrom
MaddipatlaChetan24:patch-1
Open

Cache repeated path in TFX SDK package-build init script#1
MaddipatlaChetan24 wants to merge 1 commit into
dmiltr3:masterfrom
MaddipatlaChetan24:patch-1

Conversation

@MaddipatlaChetan24

Copy link
Copy Markdown

Fixes #1, Fixes tensorflow#2

Description

Caches the repeated $BASEDIR/package_build/$CONFIG_NAME path expansion
into a single PKGDIR variable per loop iteration in the SDK package-build
init script, instead of having the shell re-expand the same two-variable
concatenation on each of the 8 ln/rm/mkdir lines inside the loop.
Purely a readability/DRY cleanup — no change to which symlinks are created,
their targets, or the script's behavior.

Scope

Patch: Bug Fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant