RetroShare/build_scripts/Debian+Ubuntu/make_tgz.sh
2015-01-10 12:52:27 +00:00

23 lines
468 B
Bash
Executable File

#!/bin/sh
rm BaseRetroShareDirs.tgz
mv retroshare-0.5/src/data retroshare-0.5/
rm -rf retroshare-0.5/libssh-0.5.2
rm -rf retroshare-0.5/src/*
mv retroshare-0.5/data retroshare-0.5/src/
find retroshare-0.5 -name "*~" -exec \rm {} \;
find retroshare-0.5 -name ".svn" -exec \rm -rf {} \;
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/