[arch-commits] Commit in java-common/trunk (PKGBUILD install_java-common.sh)

Guillaume Alaux guillaume at archlinux.org
Thu Sep 4 13:50:20 UTC 2014


    Date: Thursday, September 4, 2014 @ 15:50:20
  Author: guillaume
Revision: 220939

Fix FS#41814 add missing double quotes on current JDK check

Modified:
  java-common/trunk/PKGBUILD
  java-common/trunk/install_java-common.sh

------------------------+
 PKGBUILD               |    2 +-
 install_java-common.sh |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-09-04 11:56:08 UTC (rev 220938)
+++ PKGBUILD	2014-09-04 13:50:20 UTC (rev 220939)
@@ -1,7 +1,7 @@
 # Maintainer: Guillaume ALAUX <guillaume at archlinux.org>
 pkgname=java-common
 pkgver=1
-pkgrel=6
+pkgrel=7
 pkgdesc='Common files for Java Environments'
 arch=('any')
 url='www.archlinux.org'

Modified: install_java-common.sh
===================================================================
--- install_java-common.sh	2014-09-04 11:56:08 UTC (rev 220938)
+++ install_java-common.sh	2014-09-04 13:50:20 UTC (rev 220939)
@@ -22,7 +22,7 @@
 
 pre_install() {
   _curr_def=$(readlink ${OLD_DEFAULT_PATH} && true)
-  if [ -n ${_curr_def} ]; then
+  if [ -n "${_curr_def}" ]; then
     unlink ${OLD_DEFAULT_PATH} > /dev/null 2>&1
     ln -sf ${DEFAULT_NAME} ${OLD_DEFAULT_PATH}
 




More information about the arch-commits mailing list