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

Rerun doesn't find stubs on fedora #206

Closed
stagrlee opened this issue Sep 26, 2014 · 1 comment
Closed

Rerun doesn't find stubs on fedora #206

stagrlee opened this issue Sep 26, 2014 · 1 comment
Assignees

Comments

@stagrlee
Copy link
Member

/bin is a symbolic link and the pwd call picks this up depending on how PATH is set

[root@vagrant-fedora20 ~]# rerun
RERUN_LOCATION=/bin
ERROR: RERUN_MODULES directory not found or does not exist: /bin/modules

[root@vagrant-fedora20 ~]# ls -l /bin
lrwxrwxrwx. 1 root root 7 Jan  5  2014 /bin -> usr/bin
@stagrlee stagrlee self-assigned this Sep 26, 2014
stagrlee added a commit that referenced this issue Sep 26, 2014
@stagrlee
Copy link
Member Author

Checked in this code

# fix issue #206
if [[ -x /usr/bin/readlink ]]
then
    RERUN_LOCATION="$(/usr/bin/readlink -f ${RERUN_LOCATION})"
fi

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

1 participant