Commit 348afd68 authored by mwagner@here.mwagner.org's avatar mwagner@here.mwagner.org

Merge here.mwagner.org:/Users/mwagner/work/bk/mysql-4.1

into here.mwagner.org:/Users/mwagner/work/bk/mysql-5.0
parents e17b57d5 a2ca134d
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
# Script to create Solaris packages # Script to create Solaris packages
# #
$INTERACTIVE= 0; $INTERACTIVE= 0;
$hostname= `hostname`; chomp ($hostname= `hostname`);
$find = "/usr/bin/find"; $find = "/usr/bin/find";
$pkgproto = "/usr/bin/pkgproto"; $pkgproto = "/usr/bin/pkgproto";
$pkgmk = "/usr/bin/pkgmk -o"; $pkgmk = "/usr/bin/pkgmk -o";
...@@ -75,7 +75,7 @@ $os =~ '\.'; ...@@ -75,7 +75,7 @@ $os =~ '\.';
$os = "sol$'"; $os = "sol$'";
chomp $os; chomp $os;
$default{"basedir"}= "/usr/local"; $default{"basedir"}= "/usr/local";
$default{"packagename"}= $fullname . '.pkg'; $default{"packagename"}= "${fullname}.pkg";
# Check for correctness of guessed values by userinput # Check for correctness of guessed values by userinput
...@@ -136,6 +136,8 @@ system ("gzip /tmp/$packagename"); ...@@ -136,6 +136,8 @@ system ("gzip /tmp/$packagename");
# Clean-up the spool area # Clean-up the spool area
system ("(cd /var/spool/pkg; rm -rf $pkg)"); system ("(cd /var/spool/pkg; rm -rf $pkg)");
# Clean-up the ~/packaging/ area
system ("(rm -rf mysql*)");
unlink $pkginfo; unlink $pkginfo;
unlink $prototype; unlink $prototype;
system ("mv /tmp/${packagename}.gz $pkgdir"); system ("mv /tmp/${packagename}.gz $pkgdir");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment