/*
-goredo -- redo implementation on pure Go
-Copyright (C) 2020 Sergey Matveev <stargrave@stargrave.org>
+goredo -- djb's redo implementation on pure Go
+Copyright (C) 2020-2021 Sergey Matveev <stargrave@stargrave.org>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
}
}
levels = append(levels, "..")
- dirAbs, err := filepath.Abs(updir)
+ dirAbs, err := filepath.Abs(path.Join(cwd, updir))
if err != nil {
panic(err)
}