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

Make sure expr does what we expect under OS X #2

Closed
hannahwhy opened this issue May 19, 2011 · 2 comments
Closed

Make sure expr does what we expect under OS X #2

hannahwhy opened this issue May 19, 2011 · 2 comments

Comments

@hannahwhy
Copy link
Member

OS X ships a version of expr that doesn't parse the regexps used by bff.sh. GNU expr does, but that's not present on OS X by default. MacPorts installs a compatible version of expr as gexpr.

bff.sh should make sure that expr does what we expect it to do, and try common alternatives. If no working alternative can be found, bff.sh should halt with an error message.

@jeremydouglass
Copy link

When using the current bff.sh script on OS X without changing expr to MacPorts gexpr, you get the following behavior:

  1. output log is full of "usage: dirname path" errors, apparently from using dirname with an empty variable in the image saving loop.
  2. there are no files in each ~/photos directory. instead, a 0k file named ".jpg" is touched each time a new image should be downloaded.

@hannahwhy
Copy link
Member Author

Friendster's dead, and so is this project. Closing.

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

2 participants