From 8977c820fcadf24b5b315e50f4d7dc256282d33f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Soutad=C3=A9?= Date: Fri, 20 Aug 2010 21:40:28 +0200 Subject: [PATCH] package.sh improved --- tools/package.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/package.sh b/tools/package.sh index f492613..47423ea 100755 --- a/tools/package.sh +++ b/tools/package.sh @@ -11,8 +11,9 @@ make clean fi make || (echo "Compilation failed" ; exit 1) mkdir -p $DIR/lib -cp -r kc lib/freechart/lib/* lib/wxsqlite3-1.9.9/lib/* $DIR/lib -cp -r kc init.sql ressources launch_kc.sh TODO CONTRIBUTORS COPYING README README.fr $DIR +find $DIR -type f -exec strip \{\} \; +cp -r lib/freechart/lib/* lib/wxsqlite3-1.9.9/lib/* $DIR/lib +cp -r kc init.sql ressources tools/launch_kc.sh TODO CONTRIBUTORS COPYING README README.fr $DIR tar -jcf $FILE $DIR rm -rf $DIR echo "Packaged !" \ No newline at end of file