Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
1a4702ae
Commit
1a4702ae
authored
Feb 07, 2005
by
mwagner@here.mwagner.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do-solaris-pkg:
Deposit the new .pkg.gz into the ~/$hostname/ directory
parent
91ba515e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
Build-tools/Do-solaris-pkg
Build-tools/Do-solaris-pkg
+4
-3
No files found.
Build-tools/Do-solaris-pkg
View file @
1a4702ae
...
...
@@ -3,6 +3,7 @@
# Script to create Solaris packages
#
$INTERACTIVE
=
0
;
$hostname
=
`
hostname
`;
$find
=
"
/usr/bin/find
";
$pkgproto
=
"
/usr/bin/pkgproto
";
$pkgmk
=
"
/usr/bin/pkgmk -o
";
...
...
@@ -19,7 +20,7 @@ $fullname or die "No package name was specified";
$fullname
=~
s,/+$,,
;
# Remove ending slash if any
$pkgdir
=
`
cd ../pkgs
; pwd
`;
$pkgdir
=
`
cd ../
$hostname
; pwd
`;
$pwd
=
`
pwd
`;
if
(
$pwd
=~
'
\
/usr
\
/local
')
{
$pwd
=
$`
;
...
...
@@ -74,7 +75,7 @@ $os =~ '\.';
$os
=
"
sol$'
";
chomp
$os
;
$default
{"
basedir
"}
=
"
/usr/local
";
$default
{"
packagename
"}
=
$fullname
;
$default
{"
packagename
"}
=
$fullname
.
'
.pkg
'
;
# Check for correctness of guessed values by userinput
...
...
@@ -138,7 +139,7 @@ system ("(cd /var/spool/pkg; rm -rf $pkg)");
unlink
$pkginfo
;
unlink
$prototype
;
system
("
mv /tmp/
${packagename}
.gz
$pkgdir
");
print
"
Done. (~/
packaging/pkgs
/
$packagename
.gz)
\n
";
print
"
Done. (~/
$hostname
/
$packagename
.gz)
\n
";
# The subroutines
sub
chkvar
{
print
"
\n
";
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment