Update (no more cd - )
This commit is contained in:
parent
cf7e5f8d67
commit
1b2a22a9a9
|
|
@ -128,6 +128,8 @@ if test "$ADMS" -eq 1; then
|
||||||
# Prepend ngspiceVersion.xml
|
# Prepend ngspiceVersion.xml
|
||||||
# XMLARG="-e ../admst/ngspiceVersion.xml $XMLARG"
|
# XMLARG="-e ../admst/ngspiceVersion.xml $XMLARG"
|
||||||
|
|
||||||
|
currentdir=`pwd`
|
||||||
|
|
||||||
for adms_dir in `ls $ADMSDIR`
|
for adms_dir in `ls $ADMSDIR`
|
||||||
do
|
do
|
||||||
if [ -d "$ADMSDIR/$adms_dir" ]; then
|
if [ -d "$ADMSDIR/$adms_dir" ]; then
|
||||||
|
|
@ -144,12 +146,13 @@ do
|
||||||
|
|
||||||
*)
|
*)
|
||||||
echo "Entering into directory: $adms_dir"
|
echo "Entering into directory: $adms_dir"
|
||||||
|
echo "-->"$ADMSDIR/$adms_dir
|
||||||
cd $ADMSDIR/$adms_dir
|
cd $ADMSDIR/$adms_dir
|
||||||
file=`ls admsva/*.va`
|
file=`ls admsva/*.va`
|
||||||
$ADMSXML $file -Iadmsva -e ../admst/ngspiceVersion.xml \
|
$ADMSXML $file -Iadmsva -e ../admst/ngspiceVersion.xml \
|
||||||
-e ../admst/ngspiceMakefile.am.xml
|
-e ../admst/ngspiceMakefile.am.xml
|
||||||
|
|
||||||
cd -
|
cd $currentdir
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue