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

MovetoPat has wrong mailbox path #8

Open
km4ack opened this issue Aug 28, 2022 · 3 comments
Open

MovetoPat has wrong mailbox path #8

km4ack opened this issue Aug 28, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@km4ack
Copy link
Owner

km4ack commented Aug 28, 2022

The mailbox path changed a couple of versions ago in Pat Winlink. The new path is $HOME/.local/share/pat/mailbox

Look at the /var/www/html/movetopat file for this line. The second half of the line $HOME/.wl2k/mailbox/$MYCALL/out should be changed to $HOME/.local/share/pat/mailbox/$MYCALL/out

@km4ack km4ack added the bug Something isn't working label Aug 28, 2022
@km4ack
Copy link
Owner Author

km4ack commented Aug 28, 2022

There is also an issue with setting the $MYCALL variable in movetopat. This line should be changed to MYCALL=$(grep mycall $HOME/.config/pat/config.json | head -1 | sed 's/"mycall": "//;s/",//;s/ //g' | tr '[:lower:]' '[:upper:]')

@km4ack
Copy link
Owner Author

km4ack commented Aug 28, 2022

This has been update on the dev branch and BAP should be installing the dev branch

@jbouse
Copy link

jbouse commented Dec 23, 2022

One method to work around this would be to have the movetopat script to eval pat env and use the PAT_MYCALL & PAT_MAILBOX_PATH variables which would point to the correct values.

#!/bin/bash

eval $(pat env)

echo ${PAT_MAILBOX_PATH}/${PAT_MYCALL}/out/

73 KQ4AFY

jbouse pushed a commit to jbouse/EES-LITE that referenced this issue Dec 23, 2022
* Makes use of `pat env` environment variables
* Code indention for readability

Signed-off-by: Jeremy KQ4AFY Bouse <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants