mirror of
https://github.com/nix-community/impermanence
synced 2024-11-10 05:44:17 +00:00
Fix error when target is /
This commit is contained in:
parent
e3a7acd113
commit
bcfdc06b23
1 changed files with 0 additions and 4 deletions
|
@ -43,10 +43,6 @@ if (( "$debug" )); then
|
|||
set -o xtrace
|
||||
fi
|
||||
|
||||
# trim trailing slashes the root of all evil
|
||||
sourceBase="${sourceBase%/}"
|
||||
target="${target%/}"
|
||||
|
||||
# check that the source exists and warn the user if it doesn't, then
|
||||
# create them with the specified permissions
|
||||
realSource="$(realpath -m "$sourceBase$target")"
|
||||
|
|
Loading…
Reference in a new issue