mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-29 18:50:08 +03:00
parent
a7fd43d9f5
commit
597ac2cf4c
@ -76,7 +76,7 @@ SCRIPT_NAME=`basename -- $0`
|
||||
# /some//path///somewhere/ -> /some/path/somewhere
|
||||
function fix_dir_slashes
|
||||
{
|
||||
dirname "$1/file" | $SED 's/\/\+/\//g'
|
||||
dirname "$1/file" | $SED 's:/+:/:g'
|
||||
}
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user