Fix path display in edit command
This commit is contained in:
parent
6415dc94b4
commit
27ea4d95db
1 changed files with 1 additions and 0 deletions
|
@ -13,6 +13,7 @@ mkdir -p $edit_directory
|
|||
|
||||
filename=$(readlink -fn "$1" | md5sum | awk '{ print $1 }')-$(basename $1)
|
||||
filepath="$edit_directory/$filename"
|
||||
filepath=$(realpath -s "$filepath")
|
||||
user=$(id -un)
|
||||
group=$(id -gn)
|
||||
|
||||
|
|
Loading…
Reference in a new issue