Commit 8aec84bc authored by Ivan Krasin's avatar Ivan Krasin

Updates: path.Rooted was committed as path.IsAbs; Makefile templated has been changed the location

parent 54857599
# Use "gomake install" to build and install this package. # Use "gomake install" to build and install this package.
include $(GOROOT)/src/Make.$(GOARCH) include $(GOROOT)/src/Make.inc
TARG=github.com/krasin/go-fuse-zip/fuse TARG=github.com/krasin/go-fuse-zip/fuse
......
...@@ -24,7 +24,7 @@ func mount(mountPoint string) (f *os.File, m mounted, err os.Error) { ...@@ -24,7 +24,7 @@ func mount(mountPoint string) (f *os.File, m mounted, err os.Error) {
defer remote.Close() defer remote.Close()
mountPoint = path.Clean(mountPoint) mountPoint = path.Clean(mountPoint)
if !path.Rooted(mountPoint) { if !path.IsAbs(mountPoint) {
cwd, err := os.Getwd() cwd, err := os.Getwd()
if err != nil { if err != nil {
return return
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment