@@ -108,7 +108,7 @@ index de15b8b4..e1e1b9a0 100644
108108 set -l opts
109109 if test -e "$rosvals[2]$rosvals[3]"
110110- set opts (_rosfind -L "$rosvals[2]$rosvals[3]" -maxdepth 1 -mindepth 1 -type d ! -regex ".*/[.][^./].*" -print0 | tr '\000' '\n' | sed -e "s/.*\/\(.*\)/\1\//g")
111- + set opts (_rosfind -L ".*/\.\(?! pixi(/|$)\)[^/].*" -print0 | tr '\000' '\n' | sed -e "s/.*\/\(.*\)/\1\//g")
111+ + set opts (_rosfind -L "$rosvals[2]$rosvals[3]" -maxdepth 1 -mindepth 1 -type d \( -path '*/.*' -a ! -path '*/.pixi' -a ! -path '*/. pixi/*' \) -prune -o -print0 | tr '\000' '\n' | sed -e "s/.*\/\(.*\)/\1\//g")
112112 end
113113
114114 for i in $opts
@@ -117,7 +117,7 @@ index de15b8b4..e1e1b9a0 100644
117117
118118 if test -d "$path/msg"
119119- set -l opts (_rosfind -L $path/msg -maxdepth 1 -mindepth 1 -name "*.msg" ! -regex ".*/[.][^./].*" -print0 | tr '\000' '\n' | sed -e "s/.*\/\(.*\)\.msg/$pkgname\/\1/g")
120- + set -l opts (_rosfind -L $path/msg -maxdepth 1 -mindepth 1 -name ".*/\.\(?! pixi(/|$)\)[^/].*" -print0 | tr '\000' '\n' | sed -e "s/.*\/\(.*\)\.msg/$pkgname\/\1/g")
120+ + set -l opts (_rosfind -L $path/msg -maxdepth 1 -mindepth 1 -name "*.msg" \( -path '*/.*' -a ! -path '*/. pixi' -a ! -path '*/.pixi/*' \) -prune -o -print0 | tr '\000' '\n' | sed -e "s/.*\/\(.*\)\.msg/$pkgname\/\1/g")
121121 for i in $opts
122122 echo -- $i
123123 end
@@ -126,7 +126,7 @@ index de15b8b4..e1e1b9a0 100644
126126
127127 if test $status -eq 0 -a -d $path/srv
128128- set -l opts (_rosfind -L $path/srv -maxdepth 1 -mindepth 1 -name "*.srv" ! -regex ".*/[.][^./].*" -print0 | tr '\000' '\n' | sed -e "s/.*\/\(.*\)\.srv/$pkgname\/\1/g")
129- + set -l opts (_rosfind -L $path/srv -maxdepth 1 -mindepth 1 -name ".*/\.\(?! pixi(/|$)\)[^/].*" -print0 | tr '\000' '\n' | sed -e "s/.*\/\(.*\)\.srv/$pkgname\/\1/g")
129+ + set -l opts (_rosfind -L $path/srv -maxdepth 1 -mindepth 1 -name "*.srv" \( -path '*/.*' -a ! -path '*/. pixi' -a ! -path '*/.pixi/*' \) -prune -o -print0 | tr '\000' '\n' | sed -e "s/.*\/\(.*\)\.srv/$pkgname\/\1/g")
130130 for i in $opts
131131 echo -- $i
132132 end
@@ -135,7 +135,7 @@ index de15b8b4..e1e1b9a0 100644
135135 if test -n "$catkin_package_libexec_dir" -o -n "$pkgdir"
136136 set -l args (echo -n -- $argv[1] | sed -e 's/ /\\n/g')
137137- set opts (_rosfind -L $catkin_package_libexec_dir "$pkgdir" $args ! -regex ".*/[.][^./].*" ! -regex ".*$pkgdir\/build\/.*" -print0 | tr '\000' '\n' | sed -e "s/.*\/\(.*\)/\1/g")
138- + set opts (_rosfind -L $catkin_package_libexec_dir ".*/\.\(?! pixi(/|$)\)[^/].*" ! -regex ".*$pkgdir\/build\/.*" -print0 | tr '\000' '\n' | sed -e "s/.*\/\(.*\)/\1/g")
138+ + set opts (_rosfind -L $catkin_package_libexec_dir "$pkgdir" $args \( -path '*/.*' -a ! -path '*/.pixi' -a ! -path '*/. pixi/*' \) -prune -o ! -regex ".*$pkgdir\/build\/.*" -print0 | tr '\000' '\n' | sed -e "s/.*\/\(.*\)/\1/g")
139139 else
140140 set opts ""
141141 end
@@ -144,7 +144,7 @@ index de15b8b4..e1e1b9a0 100644
144144 set -l opts
145145 if test -e $path
146146- set opts (find -L $path -maxdepth 1 -type d ! -regex ".*/[.][^./].*" ! -regex "^[.]/" -print0 | tr '\000' '\n' | sed -e "s/\$/\//g" -e "s/^[.]\///g" -e "s/'/\\\\\'/g" -e "s/ /\\\\\ /g")
147- + set opts (find -L $path -maxdepth 1 -type d ! -regex ".*/\.\(?! pixi(/|$)\)[^/].*" ! -regex "^[.]/" -print0 | tr '\000' '\n' | sed -e "s/\$/\//g" -e "s/^[.]\///g" -e "s/'/\\\\\'/g" -e "s/ /\\\\\ /g")
147+ + set opts (find -L $path -maxdepth 1 -type d \( -path '*/.*' -a ! -path '*/.pixi' -a ! -path '*/. pixi/*' \) -prune -o ! -regex "^[.]/" -print0 | tr '\000' '\n' | sed -e "s/\$/\//g" -e "s/^[.]\///g" -e "s/'/\\\\\'/g" -e "s/ /\\\\\ /g")
148148 set opts $opts (find -L $path -maxdepth 1 -type f ! -regex ".*/[.][^.]*" ! -regex "^[.]/" -print0 | tr '\000' '\n' | sed -e "s/^[.]\///g" -e "s/'/\\\\\'/g" -e "s/ /\\\\\ /g")
149149 for i in $opts
150150 echo -- $i
@@ -153,7 +153,7 @@ index de15b8b4..e1e1b9a0 100644
153153 set -l opts
154154 if test -e $path
155155- set opts (find -L $path -maxdepth 1 -type d ! -regex ".*/[.][^./].*" ! -regex "^[.]/" -print0 | tr '\000' '\n' | sed -e "s/\$/\//g" -e "s/^[.]\///g" -e "s/'/\\\\\'/g" -e "s/ /\\\\\ /g")
156- + set opts (find -L $path -maxdepth 1 -type d ! -regex ".*/\.\(?! pixi(/|$)\)[^/].*" ! -regex "^[.]/" -print0 | tr '\000' '\n' | sed -e "s/\$/\//g" -e "s/^[.]\///g" -e "s/'/\\\\\'/g" -e "s/ /\\\\\ /g")
156+ + set opts (find -L $path -maxdepth 1 -type d \( -path '*/.*' -a ! -path '*/.pixi' -a ! -path '*/. pixi/*' \) -prune -o ! -regex "^[.]/" -print0 | tr '\000' '\n' | sed -e "s/\$/\//g" -e "s/^[.]\///g" -e "s/'/\\\\\'/g" -e "s/ /\\\\\ /g")
157157 set opts $opts (find -L $path -maxdepth 1 -type f ! -regex ".*/[.][^.]*" ! -regex "^[.]/" -print0 | tr '\000' '\n' | sed -e "s/^[.]\///g" -e "s/'/\\\\\'/g" -e "s/ /\\\\\ /g")
158158 for i in $opts
159159 echo -- $i
0 commit comments