Changeset 560 in ProjectBuilder
- Timestamp:
- Sep 29, 2008, 2:00:01 AM (16 years ago)
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb/bin/pb
r559 r560 720 720 # And create an empty pbconf 721 721 pb_mkdir_p("$dest/pbconf"); 722 # And prepare the pbscript to execute remotely 723 open(SCRIPT,"> $ENV{'PBDESTDIR'}/pbscript") || die "Unable to create $ENV{'PBDESTDIR'}/pbscript"; 724 print SCRIPT "#!/bin/bash\n"; 725 print SCRIPT "#set -x\n"; 726 print SCRIPT "echo ... Extracting Website content\n"; 727 print SCRIPT "find . -type f | grep -Ev '^./$pbpkg-$pbver.tar.gz|^./pbscript' | xargs rm -f non-existent\n"; 728 print SCRIPT "find * -type d -depth | xargs rmdir 2> /dev/null \n"; 729 print SCRIPT "tar xfz $pbpkg-$pbver.tar.gz\n"; 730 print SCRIPT "mv $pbpkg-$pbver/* .\n"; 731 print SCRIPT "rm -f $pbpkg-$pbver.tar.gz\n"; 732 print SCRIPT "rmdir $pbpkg-$pbver\n"; 733 close(SCRIPT); 722 734 } 723 735 … … 1034 1046 $cmd = "$cmd ; ln -sf $pbpkg-$pbver.tar.gz $pbpkg-latest.tar.gz"; 1035 1047 } 1048 } elsif ($cmt eq "Web") { 1049 $src = "$src $ENV{'PBDESTDIR'}/$pbpkg-$pbver.tar.gz" 1036 1050 } 1037 1051 } … … 1042 1056 if (($cmt eq "vm") || ($cmt eq "ve")) { 1043 1057 $src="$src $ENV{'PBROOTDIR'}/$ENV{'PBPROJ'}.pb $ENV{'PBDESTDIR'}/$ENV{'PBPROJVER'}-$ENV{'PBPROJTAG'}.pb $ENV{'PBETC'} $ENV{'PBDESTDIR'}/pbrc $ENV{'PBDESTDIR'}/pbscript"; 1044 } elsif ( $cmt eq "Script") {1058 } elsif (($cmt eq "Script") || ($cmt eq "Web")) { 1045 1059 $src="$src $ENV{'PBDESTDIR'}/pbscript"; 1046 } elsif ( ($cmt eq "Announce") || ($cmt eq "Web")) {1060 } elsif ($cmt eq "Announce") { 1047 1061 $src="$src $ENV{'PBTMP'}/pbscript"; 1048 1062 } elsif ($cmt eq "Packages") { -
projects/mondorescue/pbconf/branches/2.2.6/mondorescue.pb
r496 r560 47 47 extpkgdir mondo-rescue = mondo 48 48 49 # Website management and delivery 50 webdir mondorescue = website 51 websshhost mondorescue = www.mondorescue.org 52 websshlogin mondorescue = apache 53 websshdir mondorescue = /mondo/www/html/mondo 54 websshport mondorescue = 22 55 49 56 # Hash of valid version names 50 57 version mondorescue = devel,stable … … 56 63 filteredfiles mindi = rootfs/sbin/init,mindi,install.sh 57 64 filteredfiles mindi-busybox = Makefile 58 filteredfiles mondo-website = top.shtml65 filteredfiles website = top.shtml -
projects/mondorescue/pbconf/branches/2.2.7/mondorescue.pb
r554 r560 50 50 webdir mondorescue = website 51 51 websshhost mondorescue = www.mondorescue.org 52 websshlogin mondorescue = bruno52 websshlogin mondorescue = apache 53 53 websshdir mondorescue = /mondo/www/html/mondo 54 54 websshport mondorescue = 22
Note:
See TracChangeset
for help on using the changeset viewer.