summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Lowther <victor.lowther@gmail.com>2009-12-13 20:53:45 -0600
committerVictor Lowther <victor.lowther@gmail.com>2009-12-13 20:53:45 -0600
commita253fe1a2f1aa6b9a4cd3305c0c683efc289f824 (patch)
treefc34b9e4b675dad12a33ec89e82e8af0fdf0652a
parent8cb8fb33ce7450ea975a6e51a9516e31b9b18eb8 (diff)
parent3aba018a220356f519f1066f6116642266559028 (diff)
Merge is_set fix from 1.2 branch
-rw-r--r--configure.ac1
-rw-r--r--pm/functions.in4
2 files changed, 2 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 464813e..8069c5b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,5 +1,4 @@
AC_PREREQ(2.52)
-
AC_INIT(pm-utils, 1.3.0-rc2)
AC_CONFIG_SRCDIR(src)
AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
diff --git a/pm/functions.in b/pm/functions.in
index 4fb9d1f..8388c65 100644
--- a/pm/functions.in
+++ b/pm/functions.in
@@ -8,8 +8,8 @@
is_set()
{
case ${1-UNSET} in
- true|yes|TRUE|YES|on|ON|1|'') return 0;;
- false|FALSE|no|NO|off|OFF|0|UNSET) return 1;;
+ true|yes|TRUE|YES|on|ON|1) return 0;;
+ false|FALSE|no|NO|off|OFF|0) return 1;;
*) return 2;;
esac
}