RetroShare/build_scripts/Ubuntu_src/make_voip_plugin_tgz.sh
2012-08-30 14:37:27 +00:00

31 lines
771 B
Bash
Executable File

#!/bin/sh
rm BaseRetroShareDirs.tgz
rm -rf retroshare-0.5/libbitdht/
rm -rf retroshare-0.5/libretroshare/
rm -rf retroshare-0.5/src/libbitdht/*
rm -rf retroshare-0.5/src/libbitdht/.svn/
rm -rf retroshare-0.5/src/openpgpsdk/*
rm -rf retroshare-0.5/src/openpgpsdk/.svn/
rm -rf retroshare-0.5/src/libretroshare/*
rm -rf retroshare-0.5/src/libretroshare/.svn/
rm -rf retroshare-0.5/src/retroshare-gui/*
rm -rf retroshare-0.5/src/retroshare-gui/.svn/
rm -rf retroshare-0.5/src/retroshare-nogui/*
rm -rf retroshare-0.5/src/retroshare-nogui/.svn/
find retroshare-0.5 -name "*~" -exec \rm {} \;
tar zcvf BaseRetroShareDirs.tgz retroshare-0.5/
if ! test -f BaseRetroShareDirs.tgz; then
echo BaseRetroShareDirs.tgz could not be created
exit;
fi
rm -rf retroshare-0.5/