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

Allow pricing on all commands by not using any at the beginning of gnu-pricing.sh #5

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

Conversation

durka
Copy link

@durka durka commented May 13, 2015

This PR replaces all use of expensive GNU tools at the beginning of pricing.sh (i.e. before dirname $THISDIR+$0.01 has been removed from $PATH) with cost-effective bashisms. Then we can correctly charge for use of echo, sed, dirname, and pwd. Tested only with bash 4.2.37.

@durka durka force-pushed the no-commands-before-fix-path branch from a23a162 to 5664ce1 Compare May 13, 2015 01:11
@durka durka force-pushed the no-commands-before-fix-path branch from 5664ce1 to db00f94 Compare May 13, 2015 01:12
@durka
Copy link
Author

durka commented May 13, 2015

This causes git rebase -i to print an error:

sed: -e expression #3, char 2: unterminated `s' command

I am going to push another commit that removes $ARGS, because it seems that's what causes the problem.

@durka durka changed the title No commands before fix path Allow pricing on all commands by not using any at the beginning of gnu-pricing.sh May 13, 2015
@durka durka changed the title Allow pricing on all commands by not using any at the beginning of gnu-pricing.sh Allow pricing on all commands by not using any at the beginning of gnu-pricing.sh May 13, 2015
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.

None yet

1 participant