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

Various fixes to portable-screencap #5

Closed
wants to merge 9 commits into from

Conversation

chriscool
Copy link
Contributor

Here are some changes to portable-screencap.
It looks like many of those fixes could be aplied to ipfs-screencap too, but that will be for another PR.

- `set -o pipefail` is not portable as dash doesn't know about it, and

- `set -e` is not very useful if you have a die() function, and
  [has some problems too](http://mywiki.wooledge.org/BashFAQ/105).
Otherwise you can get the following error:

```
$ ./portable-screencap --dfdf
./portable-screencap: 20: ./portable-screencap: die: not found
```
@chriscool chriscool mentioned this pull request Jul 4, 2015
--*)
die "unrecognised option: '$arg'\n$usage" ;;
die "unrecognised option: '$arg'\n$USAGE" ;;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

whoops copy-paste fail on my part

@jbenet
Copy link
Owner

jbenet commented Jul 4, 2015

closing in favor of #6

@jbenet jbenet closed this Jul 4, 2015
jbenet added a commit that referenced this pull request Jul 4, 2015
@whyrusleeping whyrusleeping mentioned this pull request Jul 6, 2015
44 tasks
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