commit:     9560cb7449d7a4b659c62fd28f16e5d6b0172526
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sat Feb  7 14:59:24 2026 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sat Feb  7 14:59:24 2026 +0000
URL:        https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=9560cb74

autogen: use absolute locations in .gitignore

Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 autogen.sh | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/autogen.sh b/autogen.sh
index 69f7377e..baf02efe 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -65,14 +65,17 @@ v gnulib-tool \
        cat <<- EOM
                # BEGIN GNULIB  --  keep this at the end of this file
                # regenerate using:
-               #   ls autotools/gnulib/*.in.h | sed -e 's/\.in\.h/.h/' | sed 
-e 's:_:/:'
+               #   ls autotools/gnulib/*.in.h | sed -e 's/\.in\.h/.h/' | sed 
-e 's:_:/: | sed -e 's:^:/:'
                # or use autogen.sh
        EOM
-       ls autotools/gnulib/*.in.h | sed -e 's/\.in\.h/.h/' | sed -e 's:_:/:'
+       ls autotools/gnulib/*.in.h \
+               | sed -e 's/\.in\.h/.h/' \
+               | sed -e 's:_:/:' \
+               | sed -e 's:^:/:'
        cat <<- EOM
                # manual additions
-               autotools/gnulib/sys
-               autotools/gnulib/malloc/scratch_buffer.gl.h
+               /autotools/gnulib/sys
+               /autotools/gnulib/malloc/scratch_buffer.gl.h
                *.dirstamp
                # END GNULIB
        EOM

Reply via email to