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

Enable possibility to user control $CGIBASHOPTS_DIR #3

Closed
wants to merge 1 commit into from

Conversation

Aufschlauer
Copy link

The default directory /tmp for $CGIBASHOPTS_DIR is often on a different partition than the root filesystem. So moving a file from /tmp to the root filesystem might take some time. This PR enables the possibility to control where $CGIBASHOPTS_DIR points to.

@ColasNahaboo
Copy link
Owner

(sorry for the delay).
Nice useful suggestion.
However, I will rather have the user be able to change "/tmp" by something else rather than the whole CGIBASHOPTS_DIR, to avoid the risk of the user forgetting to add the unique part "$$". Is that OK with you?

Something like:

CGIBASHOPTS_TMP=/www/tmp
. cgibashopts

Will thus make cgibashopts use internally CGIBASHOPTS_DIR=/www/tmp/cgibashopts-files.$$

Would that be OK with you?

@ColasNahaboo
Copy link
Owner

Implemented - differently - by the new option -d in Release v4.1.0 https://github.com/ColasNahaboo/cgibashopts/releases/tag/v4.1.0

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

2 participants