diff options
Diffstat (limited to 'mbld/install.myr')
-rw-r--r-- | mbld/install.myr | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mbld/install.myr b/mbld/install.myr index 88c80bf..ca053db 100644 --- a/mbld/install.myr +++ b/mbld/install.myr @@ -52,7 +52,7 @@ const movetargs = {b, delete const movefile = {b, delete, dir, file, instdir, destdir, prefix, perm var path - setdir(b, dir) + pushdir(b, dir) path = std.pathjoin([destdir, instdir, prefix, file][:]) if delete std.put("\tdelete %s\n", path) @@ -72,6 +72,7 @@ const movefile = {b, delete, dir, file, instdir, destdir, prefix, perm ;; ;; std.slfree(path) + popdir(b) } const moveman = {b, delete, dir, man |