X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=scripts%2Fdistro-manifest-generator.sh;h=8ce6a0294a478db91da7cbeabe01c867bdc36bc9;hb=refs%2Fchanges%2F90%2F21890%2F1;hp=c6f82b076fbce3d1aa5ff1798a0a7c44a6741f60;hpb=42ab2045bef49a75d5ba026bde2f98466bc6be83;p=AGL%2Fmeta-agl.git diff --git a/scripts/distro-manifest-generator.sh b/scripts/distro-manifest-generator.sh index c6f82b076..8ce6a0294 100755 --- a/scripts/distro-manifest-generator.sh +++ b/scripts/distro-manifest-generator.sh @@ -155,7 +155,7 @@ function _getgitmanifest() { local gitrepo gitrev metagitdir sep="" DIST_LAYERS="" - for metagitdir in $(find $DIST_METADIR -maxdepth 2 -type d -exec test -d "{}/.git" \; -print -prune); do + for metagitdir in $(find $DIST_METADIR -maxdepth 2 -type d \( -not -path '*/.*' \) -exec test -d "{}/.git" \; -print -prune); do gitrepo=$($REALPATH -Ls $metagitdir --relative-to=$DIST_METADIR) pushd $DIST_METADIR/$gitrepo &>/dev/null && { gitrev=$( { $GIT describe --long --dirty --always 2>/dev/null || echo "unknown_revision"; } | tr ' \t' '__' )