Test for directory before trying to cd into it
From-SVN: r31561
This commit is contained in:
parent
821ee7fb35
commit
5787d8dadf
@ -1,3 +1,8 @@
|
||||
2000-01-21 Jim Wilson <wilson@cygnus.com>
|
||||
|
||||
* fixinc/inclhack.tpl: Test for directory before trying to cd into it.
|
||||
* fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
|
||||
|
||||
2000-01-21 Zack Weinberg <zack@wolery.cumb.org>
|
||||
|
||||
* cpphash.c (change_newlines): Delete function.
|
||||
|
@ -138,7 +138,14 @@ for INPUT in ${INPUTLIST} ; do
|
||||
|
||||
cd ${ORIGDIR}
|
||||
|
||||
cd ${INPUT} || continue
|
||||
# Make sure a directory exists before changing into it,
|
||||
# otherwise Solaris2 will fail-exit the script.
|
||||
#
|
||||
if [ ! -d ${INPUT} ]; then
|
||||
continue
|
||||
fi
|
||||
cd ${INPUT}
|
||||
|
||||
INPUT=`${PWDCMD}`
|
||||
|
||||
#
|
||||
|
@ -139,7 +139,14 @@ for INPUT in ${INPUTLIST} ; do
|
||||
|
||||
cd ${ORIGDIR}
|
||||
|
||||
cd ${INPUT} || continue
|
||||
# Make sure a directory exists before changing into it,
|
||||
# otherwise Solaris2 will fail-exit the script.
|
||||
#
|
||||
if [ ! -d ${INPUT} ]; then
|
||||
continue
|
||||
fi
|
||||
cd ${INPUT}
|
||||
|
||||
INPUT=`${PWDCMD}`
|
||||
|
||||
#
|
||||
|
@ -135,7 +135,14 @@ for INPUT in ${INPUTLIST} ; do
|
||||
|
||||
cd ${ORIGDIR}
|
||||
|
||||
cd ${INPUT} || continue
|
||||
# Make sure a directory exists before changing into it,
|
||||
# otherwise Solaris2 will fail-exit the script.
|
||||
#
|
||||
if [ ! -d ${INPUT} ]; then
|
||||
continue
|
||||
fi
|
||||
cd ${INPUT}
|
||||
|
||||
INPUT=`${PWDCMD}`
|
||||
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user