Changeset 1913


Ignore:
Timestamp:
Oct 14, 2014, 2:54:00 AM (5 years ago)
Author:
bruno
Message:
  • Use back /bin/bash (vs /usr/bin/bash as it wasn't available on older distributions). Use a variable in the future probably. Sufficiently

compatible for now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/bin/pb

    r1911 r1913  
    26372637            close(DOCKER);
    26382638        } elsif (($cmt =~ /^VE/) && ($vetype eq "docker") && ($pbstep >= 3)) {
    2639             $dkcmd = "/usr/bin/bash $homedir/$tdir-2/".basename($pbscript1);
    2640             #$dkcmd .= "/usr/bin/bash $homedir/$tdir-2/".basename($pbscript1)." ;  if [ '$pbkeep' == '0' ]; then rm -f $pbscript1; fi ; ";
     2639            $dkcmd = "/bin/bash $homedir/$tdir-2/".basename($pbscript1);
     2640            #$dkcmd .= "/bin/bash $homedir/$tdir-2/".basename($pbscript1)." ;  if [ '$pbkeep' == '0' ]; then rm -f $pbscript1; fi ; ";
    26412641        } else {
    26422642            $shcmd .= " \"echo \'cd $tdir ; if [ -x $pbscript1 ]; then $pbscript1; fi ;  if [ $pbkeep == 0 ]; then rm -f $pbscript1; fi\' | bash\"";
     
    26592659        my $ts = "$ENV{'PBTMP'}/vebuild/".basename($pbscript1);
    26602660        open(DOCKER," > $ts") || confess "Unable to create $ts";
    2661         print DOCKER "#!/usr/bin/bash\n";
     2661        print DOCKER "#!/bin/bash\n";
    26622662        print DOCKER "# Put content from host to guest, copying to have the correct uid/gid and rights to do so\n";
    26632663        print DOCKER "# set -x\n";
Note: See TracChangeset for help on using the changeset viewer.