This website requires JavaScript.
CODE
0x495fab29
Explore
Sign in
forks
/
apenwarr-redo
Watch
1
Star
0
Fork
You've already forked apenwarr-redo
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
4bf569c2a4
apenwarr-redo
/
t
/
defaults-nested
/
default.do
1 line
32 B
Text
Raw
Normal View
History
Unescape
Escape
builder.py: correctly set $3 to include the subdir path. If we're using a .do file from a parent directory, we should set $3 using the same path prefix as $1. We were previously using just the basename, which mostly works (since we would rename it to $1$2 eventually anyway) but is not quite right, and you can't safely rename files across filesystems, so it could theoretically cause problems. Also improved t/defaults-nested to test for this behaviour. Reported by Eric Kow.
2011-01-18 00:40:55 -08:00
echo root $1 $2 "$(dirname $3)"
Reference in a new issue
Copy permalink