[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-stow] Can't stow into the root
From: |
Jim Radford |
Subject: |
[Bug-stow] Can't stow into the root |
Date: |
Fri, 18 Jan 2002 19:56:27 -0800 |
User-agent: |
Mutt/1.3.25i |
Stow uses my home directory as the target if the stow dir is '/stow'.
This patch fixes the problem.
Thanks,
-Jim
--- stow-1.3.3/stow.in.orig Fri Jan 18 19:53:00 2002
+++ stow-1.3.3/stow.in Fri Jan 18 19:53:16 2002
@@ -509,7 +509,7 @@
local($path) = join('/', @_);
local(@elts) = split(/\/+/, $path);
pop(@elts);
- join('/', @elts);
+ join('/', @elts) || '/';
}
sub usage {
- [Bug-stow] Can't stow into the root,
Jim Radford <=