mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-06-29 10:49:41 +02:00
bugfix in std::remove_path()
This commit is contained in:
@@ -117,7 +117,7 @@ std::remove_path() {
|
||||
shift 1
|
||||
local -ar dirs="$@"
|
||||
local new_path=''
|
||||
local -r _P=( ${!P//:/ } )
|
||||
local -r _P=( ${P//:/ } )
|
||||
local dir=''
|
||||
for dir in "${dirs[@]}"; do
|
||||
# loop over all entries in path
|
||||
|
||||
Reference in New Issue
Block a user