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

Slashes duplicated twice #12

Closed
giuseppe998e opened this issue Sep 16, 2020 · 2 comments
Closed

Slashes duplicated twice #12

giuseppe998e opened this issue Sep 16, 2020 · 2 comments

Comments

@giuseppe998e
Copy link

giuseppe998e commented Sep 16, 2020

tmpmail/tmpmail

Lines 25 to 31 in b65d55b

TMPMAIL_DIR="/tmp/tmpmail/"
# TMPMAIL_EMAIL_ADDRESS is where we store the temporary email address
# that gets generated. This prevents the user from providing
# the email address everytime they run tmpmail
TMPMAIL_EMAIL_ADDRESS="$TMPMAIL_DIR/email_address"
TMPMAIL_HTML_EMAIL="$TMPMAIL_DIR/tmpmail.html"

Should be

TMPMAIL_DIR="/tmp/tmpmail"

# TMPMAIL_EMAIL_ADDRESS is where we store the temporary email address 
# that gets generated. This prevents the user from providing  
# the email address everytime they run tmpmail 
TMPMAIL_EMAIL_ADDRESS="$TMPMAIL_DIR/email_address"
TMPMAIL_HTML_EMAIL="$TMPMAIL_DIR/tmpmail.html"
@rpdelaney
Copy link
Contributor

In a POSIX filesystem this is not syntactically significant. /foo/bar/ == /foo////bar/

@giuseppe998e
Copy link
Author

In a POSIX filesystem this is not syntactically significant. /foo/bar/ == /foo////bar/

I know, it's just syntactically cleaner/correct.

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