btrfs-snap icon indicating copy to clipboard operation
btrfs-snap copied to clipboard

Replace use of bash primitive for removing trailing slashes with a

Open chipturner opened this issue 7 years ago • 0 comments

call to realpath. realpath will strip trailing slashes as well as otherwise normalize the path. The prior approach would fail for paths that were simply "/" turning mp into the empty string and failing the script.

chipturner avatar Oct 09 '17 14:10 chipturner