From 8ae41d104086544631aaf76fd213c5ae8a32de64 Mon Sep 17 00:00:00 2001 From: Victor Lowther Date: Sat, 2 Feb 2008 12:45:03 -0600 Subject: Use autotools to make pm-action and pm-powersave location independent. --- src/pm-action.in | 2 +- src/pm-powersave.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/pm-action.in b/src/pm-action.in index 68dbb93..b9b32dd 100755 --- a/src/pm-action.in +++ b/src/pm-action.in @@ -84,7 +84,7 @@ do shift done -export PM_FUNCTIONS="/usr/lib/pm-utils/functions" +export PM_FUNCTIONS="@PM-UTILS-LIBDIR@/functions" . "${PM_FUNCTIONS}" [ -f /sys/power/state ] || exit 1 diff --git a/src/pm-powersave.in b/src/pm-powersave.in index 5611586..51de744 100755 --- a/src/pm-powersave.in +++ b/src/pm-powersave.in @@ -25,7 +25,7 @@ # POWERSAVE_LOGFILE="/dev/null" -PM_FUNCTIONS="/usr/lib/pm-utils/functions" +PM_FUNCTIONS="@PM-UTILS-LIBDIR@/functions" . "${PM_FUNCTIONS}" if [ "x$1" = "xtrue" -o "x$1" = "xfalse" ] ; then -- cgit v1.2.3