Update of /cvsroot/devil-linux/build/docs/documentation/sample
In directory sc8-pr-cvs1:/tmp/cvs-serv13787/docs/documentation/sample
Modified Files:
ez-ipupdate
Log Message:
we don't use PACKAGEDIR anymore
Index: ez-ipupdate
===================================================================
RCS file: /cvsroot/devil-linux/build/docs/documentation/sample/ez-ipupdate,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- ez-ipupdate 23 Aug 2003 16:09:45 -0000 1.14
+++ ez-ipupdate 15 Nov 2003 15:26:02 -0000 1.15
@@ -4,6 +4,12 @@
# $Date$
# http://www.devil-linux.org
+# get the directoryname of the script
+MYDIR=${0%/*}
+
+# source functions and config
+source $MYDIR/settings
+source $MYDIR/functions
MYNAME=EZ_IPUPDATE
@@ -11,7 +17,7 @@
build )
if [ "$CONFIG_EZ_IPUPDATE" = "y" ]; then
./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc/ez-ipupdate || exit 1
- make all || exit 1
+ make $PMAKE all || exit 1
strip_debug
fi
;;
@@ -22,14 +28,12 @@
mkdir -p $WORKDIR/tmp/usr/bin || exit 1
make install DESTDIR=$WORKDIR/tmp || exit 1
- mkdir -p $PACKAGEDIR/$MYNAME/
- copy_files $WORKDIR/tmp/usr $PACKAGEDIR/$MYNAME/ || exit 1
+ copy_files $WORKDIR/tmp/usr $CDDIR/ || exit 1
mkdir -p $ETCDIR/etc/ez-ipupdate || exit 1
cp -dpR example*.conf $ETCDIR/etc/ez-ipupdate || exit 1
chmod 600 $ETCDIR/etc/ez-ipupdate/* || exit 1
rm -rf $WORKDIR/tmp || exit 1
-
- fi
+ fi
;;
* )
|