Made config file loading POSIX-compliant and got rid of a redundant
local variable in the config file loading function.
diff -U 0 -rNX diffignore pm-utils.updates/pm/functions working/pm/functions
--- pm-utils.updates/pm/functions 2008-01-27 12:18:16.000000000 -0600
+++ working/pm/functions 2008-01-27 11:26:51.000000000 -0600
@@ -33,3 +29,2 @@
- cfgs="/etc/pm/config.d/*[^~]"
- for cfg in $cfgs ; do
- [ -f $cfg ] || continue
+ for cfg in /etc/pm/config.d/*[!~] ; do
+ [ -f "$cfg" ] || continue
@@ -37 +32 @@
- . $cfg
+ . "${cfg}"
_______________________________________________
Pm-utils mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pm-utils