diff options
author | Martin Liska <mliska@suse.cz> | 2022-02-04 10:24:51 +0100 |
---|---|---|
committer | Martin Liska <mliska@suse.cz> | 2022-02-04 13:53:23 +0100 |
commit | 9d3236ff3791ea74e1bc1c293d82fee11b1a5e24 (patch) | |
tree | 9f592404749ce76fa86e0521304ff584455d9e2b /fixincludes/fixinc.in | |
parent | 24c72fb0eedfe7c67f9b15aa31b474a999cc4723 (diff) | |
download | gcc-9d3236ff3791ea74e1bc1c293d82fee11b1a5e24.zip gcc-9d3236ff3791ea74e1bc1c293d82fee11b1a5e24.tar.gz gcc-9d3236ff3791ea74e1bc1c293d82fee11b1a5e24.tar.bz2 |
fixincludes: Update pwd.
fixincludes/ChangeLog:
* fixinc.in: Use cd OLDDIR instead of cd .. .
Diffstat (limited to 'fixincludes/fixinc.in')
-rwxr-xr-x | fixincludes/fixinc.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fixincludes/fixinc.in b/fixincludes/fixinc.in index 0c30664..0bd8027 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 |