summaryrefslogtreecommitdiff
path: root/editors/openoffice-3-devel/files/generate.pl
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2010-11-30 11:08:00 +0000
committerMaho Nakata <maho@FreeBSD.org>2010-11-30 11:08:00 +0000
commit411306e6d8eec507b800476ee122875538359ed0 (patch)
treed9f2c251519ef0e11a3f91832d45f7da09330792 /editors/openoffice-3-devel/files/generate.pl
parent- Update x264 to 0.110.1804 (diff)
Some small modifications so that it meets Hamburg's requirement.
Discussed with: Marcus Lange <marcus.lange@oracle.com> and "Jack L." <xxjack12xx@gmail.com>
Notes
Notes: svn path=/head/; revision=265442
Diffstat (limited to '')
-rw-r--r--editors/openoffice-3-devel/files/generate.pl11
1 files changed, 9 insertions, 2 deletions
diff --git a/editors/openoffice-3-devel/files/generate.pl b/editors/openoffice-3-devel/files/generate.pl
index 825da3c3efda..abe0b6e43265 100644
--- a/editors/openoffice-3-devel/files/generate.pl
+++ b/editors/openoffice-3-devel/files/generate.pl
@@ -26,5 +26,12 @@ if ( $tmp[0] eq ".if" && $tmp[1] eq "\${LOCALIZED_LANG}" ) { $LANG=$tmp2[1];
}
close FILE;
print "md5 OOo* > MD5SUMS.log\n";
-print "sudo -u `who am i | awk '{print \$1}'` ssh build.good-day.net mkdir -p /home/ftp/pub/OpenOffice.org/FreeBSD/`make -V OOOTAG`/`uname -r`/`uname -m`\n";
-print "sudo -u `who am i | awk '{print \$1}'` scp OOo* MD5SUMS.log build.good-day.net:/home/ftp/pub/OpenOffice.org/FreeBSD/`make -V OOOTAG`/`uname -r`/`uname -m`\n";
+
+$arc= `uname -m`;
+if ($arc == "amd64" ) {
+print "sudo -u `who am i | awk '{print \$1}'` ssh build.good-day.net mkdir -p /home/ftp/pub/OpenOffice.org/contrib/freebsdx86-64/`\n";
+print "sudo -u `who am i | awk '{print \$1}'` scp OOo* MD5SUMS.log build.good-day.net:/home/ftp/pub/OpenOffice.org/contrib/freebsdx86-64/`\n";
+} else {
+print "sudo -u `who am i | awk '{print \$1}'` ssh build.good-day.net mkdir -p /home/ftp/pub/OpenOffice.org/contrib/freebsdx86/`\n";
+print "sudo -u `who am i | awk '{print \$1}'` scp OOo* MD5SUMS.log build.good-day.net:/home/ftp/pub/OpenOffice.org/contrib/freebsdx86/`\n";
+}