mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-11-29 15:47:46 +01:00
bugfix in std::remove_path()
This commit is contained in:
1 parent
4c5a36ac86
commit
1d6562bbd3
1 file changed
+1
-1
@@ -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