diff options
author | Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> | 2013-08-30 06:33:02 +0200 |
---|---|---|
committer | Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> | 2013-08-30 06:33:02 +0200 |
commit | 5b32f1b6fd79b29b812daf0aeb02c891e72dcb1b (patch) | |
tree | 8268d36a21f04fd6c9e9c4845282d4b374ad792f /support-files/mysql.spec.sh | |
parent | 587ae13b2444dd52dc852be2075db47842ae4612 (diff) | |
download | mariadb-git-5b32f1b6fd79b29b812daf0aeb02c891e72dcb1b.tar.gz |
Corrected the PID_FILE_PATT manipulation
Diffstat (limited to 'support-files/mysql.spec.sh')
-rw-r--r-- | support-files/mysql.spec.sh | 4 |
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 |