Small fixes to make the scripts work better #6

Merged
praetor merged 1 commits from jeffallen/uucp:fixes into master 2019-03-26 15:33:53 +00:00
Contributor
No description provided.
Author
Contributor

When making this pull request I noticed that you've just changed these from >> to >, but I don't see why. It makes it so that each file ends up with only the last node in it, instead of all nodes.

Anyway, I needed ">>" in order to get my UUCP config files created.

When making this pull request I noticed that you've *just* changed these from >> to >, but I don't see why. It makes it so that each file ends up with only the last node in it, instead of all nodes. Anyway, I needed ">>" in order to get my UUCP config files created.
Owner

I needed the >> for the generated files for /etc/uucp since I was ending up with many duplicated entries. There was also a bit of discussion re: using stow to get the generated files into /etc/uucp. >> also makes the script not re-runnable.

Thoughts?

I needed the `>>` for the generated files for /etc/uucp since I was ending up with many duplicated entries. There was also a bit of discussion re: using stow to get the generated files into /etc/uucp. `>>` also makes the script *not* re-runnable. Thoughts?
Author
Contributor

My understanding is that all the other files are derived from the nodes file. So it should be possible to run ./bootsrtap.pl any time, and the right config files will be generated. As it is currently written, the config files end up with only to information related to the last line of the nodes file.

My understanding is that all the other files are derived from the nodes file. So it should be possible to run ./bootsrtap.pl any time, and the right config files will be generated. As it is currently written, the config files end up with only to information related to the last line of the nodes file.
Owner

Ahh ok I see what you're saying. My problem was that the generated files (sys, call, config, etc) were being appended to in subsequent runs rather than being recreated. (I copied instead of moved them to /etc/uucp)

Ahh ok I see what you're saying. My problem was that the generated files (sys, call, config, etc) were being appended to in subsequent runs rather than being recreated. (I copied instead of moved them to /etc/uucp)
Owner

Would like to get @praetor's opinion, but it looks good to me

Would like to get @praetor's opinion, but it looks good to me
Collaborator

I like it. It's more consice and does what i imagined it doing. merged

I like it. It's more consice and does what i imagined it doing. *merged*
praetor closed this pull request 2019-03-26 15:33:53 +00:00
This repo is archived. You cannot comment on pull requests.
No reviewers
No Label
No Milestone
No Assignees
3 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: tildeverse/uucp#6
No description provided.