Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct Regex for Parsing Workspace.bzl #40

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

acidtonic
Copy link

The values the regex is searching for have changed and the scripts no longer work. I have edited the regex to work with the current releases of tensorflow.

Corrected Regex
Removed fail catch for the final two cp commands. On my setup sometimes the script is ran multiple times as part of a build process. I would get errors copying if the src/dest were the same file even though all other operations were successful. 

Since I'm using this repo in my projects I decided to remove the fail catch on the copy to keep the exit status as 0. Plus if the files are the same the cp failing really isn't an error.
@MatthewScholefield
Copy link

@cjweeks Ping. The setup process doesn't work without this change.

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.

2 participants