RetroShare/build_scripts/Ubuntu_src/make_tgz.sh
2010-08-02 10:27:40 +00:00

29 lines
689 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/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/