A few fixes

This commit is contained in:
ceriel 1991-10-18 10:02:44 +00:00
parent 96893d0092
commit b61f465b1f
3 changed files with 16 additions and 8 deletions

View file

@ -70,4 +70,5 @@ esac
: and finally installing ... : and finally installing ...
cd $CONFIG cd $CONFIG
set +e
exec $SRC_HOME/TakeAction exec $SRC_HOME/TakeAction

View file

@ -22,7 +22,10 @@ do
fi fi
if [ -f $SRC_HOME/$i/Action ] if [ -f $SRC_HOME/$i/Action ]
then then
cp $SRC_HOME/$i/Action $i/Action cd $SRC_HOME/$i
cp Action* $CONFIG/$i
chmod +w $CONFIG/$i/Action*
cd $CONFIG
fi fi
done done
@ -37,10 +40,12 @@ cd $CONFIG
for i in lang/cem/cemcom.ansi lang/cem/cemcom lang/m2/comp for i in lang/cem/cemcom.ansi lang/cem/cemcom lang/m2/comp
do do
cp $SRC_HOME/$i/BigPars $CONFIG/$i/Parameters cp $SRC_HOME/$i/BigPars $CONFIG/$i/Parameters
chmod +w $CONFIG/$i/Parameters
done done
for i in lang/pc/comp lang/cem/cpp.ansi for i in lang/pc/comp lang/cem/cpp.ansi
do do
cp $SRC_HOME/$i/Parameters $CONFIG/$i/Parameters cp $SRC_HOME/$i/Parameters $CONFIG/$i/Parameters
chmod +w $CONFIG/$i/Parameters
done done
cd $CONFIG/mach cd $CONFIG/mach

View file

@ -3,6 +3,7 @@ set -e
: machine-dependant stuff : machine-dependant stuff
create_dir $TARGET_HOME create_dir $TARGET_HOME
( cd $TARGET_HOME ; find . -exec chmod +w {} \; )
create_dir $TARGET_HOME/config create_dir $TARGET_HOME/config
create_dir $TARGET_HOME/lib.bin create_dir $TARGET_HOME/lib.bin
create_dir $TARGET_HOME/modules create_dir $TARGET_HOME/modules
@ -11,9 +12,10 @@ create_dir $TARGET_HOME/modules/man
create_dir $TARGET_HOME/modules/pkg create_dir $TARGET_HOME/modules/pkg
create_dir $TARGET_HOME/modules/lib create_dir $TARGET_HOME/modules/lib
create_dir $TARGET_HOME/bin create_dir $TARGET_HOME/bin
( cd $SRC_HOME/modules/h ; tar chf - . ) | ( cd $TARGET_HOME/modules/h ; tar xf - )
( cd $SRC_HOME/modules/h ; tar cf - . ) | ( cd $TARGET_HOME/modules/h ; tar xf - )
cp local.h em_path.h $TARGET_HOME/config cp local.h em_path.h $TARGET_HOME/config
( cd $SRC_HOME/bin ; tar chf - . ) | ( cd $TARGET_HOME/bin ; tar xf - ) ( cd $SRC_HOME/bin ; tar cf - . ) | ( cd $TARGET_HOME/bin ; tar xf - )
echo "echo $SYSNAME" > $TARGET_HOME/bin/ack_sys echo "echo $SYSNAME" > $TARGET_HOME/bin/ack_sys
chmod +x $TARGET_HOME/bin/ack_sys chmod +x $TARGET_HOME/bin/ack_sys
@ -32,10 +34,10 @@ create_dir $TARGET_HOME/doc
create_dir $TARGET_HOME/man create_dir $TARGET_HOME/man
cp $SRC_HOME/etc/ip_spec.t $TARGET_HOME/etc/ip_spec.t cp $SRC_HOME/etc/ip_spec.t $TARGET_HOME/etc/ip_spec.t
( cd $SRC_HOME/lib ; tar chf - . ) | ( cd $TARGET_HOME/lib ; tar xf - ) ( cd $SRC_HOME/lib ; tar cf - . ) | ( cd $TARGET_HOME/lib ; tar xf - )
( cd $SRC_HOME/include ; tar chf - . ) | ( cd $TARGET_HOME/include ; tar xf - ) ( cd $SRC_HOME/include ; tar cf - . ) | ( cd $TARGET_HOME/include ; tar xf - )
( cd $SRC_HOME/h ; tar chf - . ) | ( cd $TARGET_HOME/h ; tar xf - ) ( cd $SRC_HOME/h ; tar cf - . ) | ( cd $TARGET_HOME/h ; tar xf - )
( cd $SRC_HOME/man ; tar chf - . ) | ( cd $TARGET_HOME/man ; tar xf - ) ( cd $SRC_HOME/man ; tar cf - . ) | ( cd $TARGET_HOME/man ; tar xf - )
( cd $SRC_HOME/doc ; tar chf - . ) | ( cd $TARGET_HOME/doc ; tar xf - ) ( cd $SRC_HOME/doc ; tar cf - . ) | ( cd $TARGET_HOME/doc ; tar xf - )
exit 0 exit 0