[Xastir] script to update FCC database

km5vy Tom Russo russo at bogodyn.org
Thu Sep 3 10:34:23 PDT 2020


On Thu, Sep 03, 2020 at 09:57:50AM -0700, we recorded a bogon-computron collision of the <curt.we7u at gmail.com> flavor, containing:
> Roger. Thanks Tom.
> 
> To the other Tom: Try deleting that file from the scripts directory
> and checking the file out again from Git, then a make clean;make;make
> install to see if that fixes it on the errant system.

This is why I asked about what 'git status' shows.  If it shows local 
modifications it will also show the instructions for how to get rid of them.

For example, when I edit my local copy of scripts/get-fcc-rac.pl.in, "git status"
shows:

> git status
On branch master
Your branch is up to date with 'origin/master'.

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
        modified:   scripts/get-fcc-rac.pl.in

no changes added to commit (use "git add" and/or "git commit -a")


If I follow the instructions:
> git restore scripts/get-fcc-rac.pl.in
> git status
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean


A "git reset --hard" should also clear any local modifications
that are messing up the update, but one needs to be sure that one is only
throwing away undesired local modifications.  Again, looking at "git status"
will show you what would be impacted by such an act.

Deleting the file makes it harder to reset (this ain't CVS and the process
isn't the same).  

> On Thu, Sep 3, 2020 at 9:48 AM Tom Russo <russo at bogodyn.org> wrote:
> >
> > There is nothing int he configure script that would add a line to output
> > the base directory and exit this way.  All that configure does is scribble
> > the prefix into the script.
> >
> > On Thu, Sep 03, 2020 at 09:47:14AM -0700, we recorded a bogon-computron collision of the <curt.we7u at gmail.com> flavor, containing:
> > > The final script is generated using an input of the
> > > scripts/getfcc-rac.pl.in file using the autoconf files. There must be
> > > a difference in how the file is processed on the two systems to come
> > > up with the final script. Tom Russo probably has more insight into
> > > this.
> > >
> > > On Thu, Sep 3, 2020 at 9:40 AM Tom Henderson <Tom at henderson4.us> wrote:
> > > >
> > > > I have two xastir installs, one on unbuntu, the other on raspian.
> > > >
> > > > Both were updated today using the update.xastir script.
> > > >
> > > > Both are running 2.1.7
> > > >
> > > > On Ubuntu, the FCC script runs. It gets an error, but I think that's
> > > > probably an FCC problem.
> > > >
> > > > On Raspian, it prints the base directory and exits.
> > > >
> > > > As it turn out, the script on the Raspian install has an exit statement
> > > > added right after the base directory is printed, and the Ubuntu install
> > > > does not have that line added.
> > > >
> > > > Any idea how this could be?
> > > >
> > > > --
> > > > Tom Henderson
> > > >
> > > > _______________________________________________
> > > > Xastir mailing list
> > > > Xastir at lists.xastir.org
> > > > http://xastir.org/mailman/listinfo/xastir
> > >
> > >
> > >
> > > --
> > > Curt, WE7U        http://xastir.org        http://www.sarguydigital.com
> > > _______________________________________________
> > > Xastir mailing list
> > > Xastir at lists.xastir.org
> > > http://xastir.org/mailman/listinfo/xastir
> >
> > --
> > Tom Russo    KM5VY
> > Tijeras, NM
> >
> >  echo "prpv_a'rfg_cnf_har_cvcr" | sed -e 's/_/ /g' | tr [a-m][n-z] [n-z][a-m]
> >
> > _______________________________________________
> > Xastir mailing list
> > Xastir at lists.xastir.org
> > http://xastir.org/mailman/listinfo/xastir
> 
> 
> 
> -- 
> Curt, WE7U        http://xastir.org        http://www.sarguydigital.com

-- 
Tom Russo    KM5VY
Tijeras, NM  

 echo "prpv_a'rfg_cnf_har_cvcr" | sed -e 's/_/ /g' | tr [a-m][n-z] [n-z][a-m]



More information about the Xastir mailing list