summaryrefslogtreecommitdiff
path: root/support-files
diff options
context:
space:
mode:
authorBalasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com>2013-08-30 06:33:02 +0200
committerBalasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com>2013-08-30 06:33:02 +0200
commit5b32f1b6fd79b29b812daf0aeb02c891e72dcb1b (patch)
tree8268d36a21f04fd6c9e9c4845282d4b374ad792f /support-files
parent587ae13b2444dd52dc852be2075db47842ae4612 (diff)
downloadmariadb-git-5b32f1b6fd79b29b812daf0aeb02c891e72dcb1b.tar.gz
Corrected the PID_FILE_PATT manipulation
Diffstat (limited to 'support-files')
-rw-r--r--support-files/mysql.spec.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/support-files/mysql.spec.sh b/support-files/mysql.spec.sh
index 216c5ede66b..372638c29c3 100644
--- a/support-files/mysql.spec.sh
+++ b/support-files/mysql.spec.sh
@@ -30,7 +30,7 @@
%global mysqld_group mysql
%global mysqldatadir /var/lib/mysql
-%global release 2
+%global release 1
#
@@ -636,7 +636,7 @@ then
fi
if [ -z "$PID_FILE_PATT" ]
then
- PID_FILE_PATT=`ls $mysql_datadir/*.pid 2>/dev/null | grep -v "mysqld_safe.pid"`
+ PID_FILE_PATT=`ls "$mysql_datadir/*.pid" 2> /dev/null | grep -v "mysqld_safe.pid"`
fi
# Check if we can safely upgrade. An upgrade is only safe if it's from one