Yes, I'm using that repo too. As you found out later, you have to switch to the Branch-11.0 branch.
__Martin >>>>> On Tue, 30 Mar 2021 12:50:47 -0400, Dan Langille said: > > Which repo? > > From https://www.bacula.org/git/cgit.cgi/bacula/, the bottom of the page: > > Clone > http://git.bacula.org/bacula.git > > Side note: why http and not https? > > > While on this topic: > https://www.bacula.org/11.0.x-manuals/en/developers/Bacula_Git_Usage.html > mentions the master branch. > > From what I see, this branch does not exist in git: > > git clone https://git.bacula.org/bacula.git > Cloning into 'bacula'... > Checking connectivity: 176860, done. > Updating files: 100% (4651/4651), done. > [dan@air01:~/src] $ cd bacula/ > [dan@air01:~/src/bacula] $ git checkout -b bugfix master > fatal: 'master' is not a commit and a branch 'bugfix' cannot be created from > it > [dan@air01:~/src/bacula] $ > > Back to finding the file in question. > > This is what I did: > > [dan@air01:~/src/bacula] $ find . -name baculabackupreport.in > ./bacula/scripts/baculabackupreport.in > > [dan@air01:~/src/bacula] $ head -2 ./bacula/scripts/baculabackupreport.in > #!/bin/sh > # > > My error was assuming we had a master branch and that when I cloned a repo, I > would be on the master branch. > > That's not the case. > > After cloning, you're on 9.6: > > [dan@air01:~/src/bacula] $ git branch > * Branch-9.6 > > Once I realized that, I found the code: > > [dan@air01:~/src/bacula] $ git checkout Branch-11.0 > Branch 'Branch-11.0' set up to track remote branch 'Branch-11.0' from > 'origin'. > Switched to a new branch 'Branch-11.0' > [dan@air01:~/src/bacula] $ find . -name baculabackupreport.in > ./bacula/scripts/baculabackupreport.in > [dan@air01:~/src/bacula] $ head -2 ./bacula/scripts/baculabackupreport.in > #!/bin/dash > # > > Which goes back to: why does the repo not have a master branch? > > > -- > Dan Langille - BSDCan / PGCon > d...@langille.org > > > > On Mar 30, 2021, at 12:03 PM, Martin Simmons <mar...@lispworks.com> wrote: > > > > /bin/dash is another shell, which is typically used as the system shell on > > Ubuntu and Debian. > > > > I'm not sure which repo you are looking at, but my copy has /bin/dash in > > that > > file > > > > __Martin > > > > > >>>>>> On Mon, 29 Mar 2021 14:23:59 -0400, Dan Langille said: > >> > >> I tried to create a pull request for you, but couldn't find this code > >> within the cloned repo. > >> > >> I checked out Branch-11.0 but the error was not there. > >> > >> The tarball for 11.0.2 contains this in > >> bacula-11.0.2/scripts/baculabackupreport.in > >> > >> #!/bin/dash > >> > >> Perhaps that's meant to be #!/bin/bash > >> > >> > >> -- > >> Dan Langille > >> d...@langille.org > >> > >> > >> _______________________________________________ > >> Bacula-devel mailing list > >> Bacula-devel@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/bacula-devel > >> > > > > > > _______________________________________________ > > Bacula-devel mailing list > > Bacula-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/bacula-devel > > _______________________________________________ Bacula-devel mailing list Bacula-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-devel