Browse Source

Update (no more cd - )

pre-master-46
pnenzi 20 years ago
parent
commit
1b2a22a9a9
  1. 5
      autogen.sh

5
autogen.sh

@ -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…
Cancel
Save