mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-14 14:10:37 +03:00
ament: fix unbound variable error
This commit is contained in:
parent
10731ea721
commit
05f334d6d3
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ declare -gA _amentPackagesSeen
|
|||
_findAmentPackages() {
|
||||
local pkg="$1"
|
||||
# Deduplicate the packages
|
||||
if [ -z "${_amentPackagesSeen["$pkg"]}" ] && isAmentPackage "$pkg"; then
|
||||
if [ -z "${_amentPackagesSeen["$pkg"]:-}" ] && isAmentPackage "$pkg"; then
|
||||
addToSearchPath AMENT_PREFIX_PATH "$pkg"
|
||||
fi
|
||||
_amentPackagesSeen["$pkg"]=1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue