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

missing function from rundissect_pytorch_external.sh #10

Open
rosenfeldamir opened this issue Nov 21, 2017 · 2 comments
Open

missing function from rundissect_pytorch_external.sh #10

rosenfeldamir opened this issue Nov 21, 2017 · 2 comments

Comments

@rosenfeldamir
Copy link

the function globexists is missing from rundissect_pytorch_external.sh:

./script/rundissect_pytorch_external.sh: line 209: globexists: command not found

it does exist, however, in rundissect.sh

@AlamiMejjati
Copy link

same problem here

@gauenk
Copy link

gauenk commented Jun 29, 2018

The "globexists" function should be defined in the file. I am guessing the authors read this stack overflow page, and forgot to include this in their bash script.

If you want to fix this, you can add to the top of ./script/rundissect_pytorch_external.sh:

# For expanding globs http://stackoverflow.com/questions/2937407                
function globexists {                                                           
  set +f                                                                        
  test -e "$1" -o -L "$1";set -f                                                
}  

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

No branches or pull requests

3 participants