public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-7051] fixincludes: Update pwd.
@ 2022-02-04 12:53 Martin Liska
0 siblings, 0 replies; only message in thread
From: Martin Liska @ 2022-02-04 12:53 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:9d3236ff3791ea74e1bc1c293d82fee11b1a5e24
commit r12-7051-g9d3236ff3791ea74e1bc1c293d82fee11b1a5e24
Author: Martin Liska <mliska@suse.cz>
Date: Fri Feb 4 10:24:51 2022 +0100
fixincludes: Update pwd.
fixincludes/ChangeLog:
* fixinc.in: Use cd OLDDIR instead of cd .. .
Diff:
---
fixincludes/fixinc.in | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/fixincludes/fixinc.in b/fixincludes/fixinc.in
index 0c3066452c6..0bd8027a554 100755
--- a/fixincludes/fixinc.in
+++ b/fixincludes/fixinc.in
@@ -258,9 +258,10 @@ then echo "All directories (including links to directories):"
echo $all_dirs
fi
+OLDDIR=`${PWDCMD}`
cd $LIB
echo "$all_dirs" | xargs mkdir -p
-cd ..
+cd ${OLDDIR}
mkdir $LIB/root
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-02-04 12:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-04 12:53 [gcc r12-7051] fixincludes: Update pwd Martin Liska
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).