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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
223716f3
Commit
223716f3
authored
Sep 27, 2003
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- better test for a string to avoid "test: integer expression expected"
if a variable is not defined (empty).
parent
f0cb432f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
scripts/mysql_install_db.sh
scripts/mysql_install_db.sh
+3
-3
No files found.
scripts/mysql_install_db.sh
View file @
223716f3
...
@@ -128,7 +128,7 @@ fi
...
@@ -128,7 +128,7 @@ fi
if
test
!
-x
$mysqld
if
test
!
-x
$mysqld
then
then
if
test
"
$in_rpm
"
-eq
1
if
test
"
$in_rpm
"
=
1
then
then
echo
"FATAL ERROR
$mysqld
not found!"
echo
"FATAL ERROR
$mysqld
not found!"
exit
1
exit
1
...
@@ -167,7 +167,7 @@ then
...
@@ -167,7 +167,7 @@ then
fi
fi
fi
fi
if
test
"
$ip_only
"
-eq
1
if
test
"
$ip_only
"
=
1
then
then
ip
=
`
echo
"
$resolved
"
|
awk
'/ /{print $6}'
`
ip
=
`
echo
"
$resolved
"
|
awk
'/ /{print $6}'
`
hostname
=
$ip
hostname
=
$ip
...
@@ -187,7 +187,7 @@ then
...
@@ -187,7 +187,7 @@ then
c_d
=
"yes"
c_d
=
"yes"
fi
fi
if
test
$verbose
-eq
1
if
test
$verbose
=
1
then
then
create_option
=
"verbose"
create_option
=
"verbose"
else
else
...
...
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