initng/mksnap.sh
glen
cvs at pld-linux.org
Thu Dec 8 00:16:50 CET 2005
Author: glen
Date: Thu Dec 8 00:16:50 2005
New Revision: 6618
Modified:
initng/mksnap.sh
Log:
- simplify tarball make (thx sparky)
Modified: initng/mksnap.sh
==============================================================================
--- initng/mksnap.sh (original)
+++ initng/mksnap.sh Thu Dec 8 00:16:50 2005
@@ -6,11 +6,9 @@
dir=$project-$version-$snap
rm -rf $dir
-mkdir -p $dir/{daemon,net,system}
-cp -a shutdown_script *.runlevel $dir
-cp -a daemon/*.i $dir/daemon
-cp -a net/*.i $dir/net
-cp -a system/*.i $dir/system
+svn up
+mkdir -p $dir
+cp -a shutdown_script *.runlevel daemon net system $dir
+tar --exclude=.svn -cjf $dir.tar.bz2 $dir
-tar cjf $dir.tar.bz2 $dir
rm -rf $dir
More information about the pld-cvs-commit
mailing list