summaryrefslogtreecommitdiff
path: root/src/pm-action.in
diff options
context:
space:
mode:
authorVictor Lowther <victor.lowther@gmail.com>2008-03-14 07:21:34 -0500
committerVictor Lowther <victor.lowther@gmail.com>2008-03-14 07:21:34 -0500
commitac2e951e553f69dc5ab04b37f4e973bebdb1f5c4 (patch)
treeee438951fda1b1a04a8317b3a06a750b7847a3d9 /src/pm-action.in
parent66db33b5431a1f01df6c500c22d5ca0bd362acc1 (diff)
Split functions.in into functions.in and pm-functions.in
pm-functions.in contains the functionality that should only be used by the pm-utils frontends (pm-action, pm-is-supported, and pm-powersave). functions.in contains code that is shared between the hooks and the pm-utils frontends. The reason behind splitting this out is to reduce namespace pollution in the hooks and to eventaully make it easier to split the hooks into their own package.
Diffstat (limited to 'src/pm-action.in')
-rw-r--r--src/pm-action.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pm-action.in b/src/pm-action.in
index 58f283e..dfb055a 100644
--- a/src/pm-action.in
+++ b/src/pm-action.in
@@ -26,8 +26,7 @@
# The rule here? Simplicity.
-export PM_FUNCTIONS="@PM-UTILS-LIBDIR@/functions"
-. "${PM_FUNCTIONS}"
+. "@PM-UTILS-LIBDIR@/pm-functions"
# save the command line parameters for the hooks.
export PM_CMDLINE="$*"