Update (no more cd - )

This commit is contained in:
pnenzi 2006-02-28 18:42:21 +00:00
parent cf7e5f8d67
commit 1b2a22a9a9
1 changed files with 4 additions and 1 deletions

View File

@ -128,6 +128,8 @@ if test "$ADMS" -eq 1; then
# Prepend ngspiceVersion.xml
# XMLARG="-e ../admst/ngspiceVersion.xml $XMLARG"
currentdir=`pwd`
for adms_dir in `ls $ADMSDIR`
do
if [ -d "$ADMSDIR/$adms_dir" ]; then
@ -144,12 +146,13 @@ do
*)
echo "Entering into directory: $adms_dir"
echo "-->"$ADMSDIR/$adms_dir
cd $ADMSDIR/$adms_dir
file=`ls admsva/*.va`
$ADMSXML $file -Iadmsva -e ../admst/ngspiceVersion.xml \
-e ../admst/ngspiceMakefile.am.xml
cd -
cd $currentdir
;;
esac
fi