Skip to content

Commit 5855e85

Browse files
daennyDaniel Claes
andauthored
fix: fish replacements (#542)
* fix: fish replacements * fix: better fish replacements and increase build --------- Co-authored-by: Daniel Claes <dclaes@smart-robotics.nl>
1 parent 51161c2 commit 5855e85

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

patch/ros-noetic-rosbash.patch

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -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

pkg_additional_info.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ urdf:
1919
cv_bridge:
2020
build_number: 22
2121
rosbash:
22-
build_number: 22
22+
build_number: 23

0 commit comments

Comments
 (0)