|
From: Heiko Z. <smi...@us...> - 2004-12-13 17:31:20
|
Update of /cvsroot/devil-linux/build/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4104/scripts Modified Files: motion perl Log Message: we need to keep the name of the TMPDIR Index: motion =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/motion,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- motion 13 Dec 2004 16:41:11 -0000 1.4 +++ motion 13 Dec 2004 17:31:11 -0000 1.5 @@ -41,12 +41,14 @@ /bin/sh configure --prefix=$TMPDIR/usr --bindir=$TMPDIR/usr/sbin \ --sysconfdir=$TMPDIR/etc --mandir=$TMPDIR/usr/share/man $OPT_FLAGS || exit 1 make $PMAKE all || exit 1 + echo $TMPDIR > DL.TMPDIR strip_debug fi ;; install ) if [ "$CONFIG_MOTION" = "y" ]; then + TMPDIR=$(cat DL.TMPDIR) rm -rf $TMPDIR || exit 1 make install || exit 1 Index: perl =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/perl,v retrieving revision 1.36 retrieving revision 1.37 diff -u -d -r1.36 -r1.37 --- perl 12 Dec 2004 21:48:08 -0000 1.36 +++ perl 13 Dec 2004 17:31:11 -0000 1.37 @@ -28,6 +28,8 @@ case $1 in build ) if [ "$CONFIG_PERL" = "y" ]; then + echo $TMPDIR > DL.TMPDIR + echo >> ./hints/linux.sh echo "archname='i$CONFIG_CPU-linux'" >> ./hints/linux.sh @@ -73,13 +75,14 @@ make install || exit 1 popd done - + exit 0 fi ;; install ) if [ "$CONFIG_PERL" = "y" ]; then + TMPDIR=$(cat DL.TMPDIR) rm -rf $TMPDIR || exit 1 mkdir -p $TMPDIR|| exit 1 make install || exit 1 |