19 |
mv ${temp}/${svn_module}/${svn_module}/* ${temp}/${svn_module} |
mv ${temp}/${svn_module}/${svn_module}/* ${temp}/${svn_module} |
20 |
rm -rf ${temp}/${svn_module}/${svn_module} |
rm -rf ${temp}/${svn_module}/${svn_module} |
21 |
fi |
fi |
22 |
|
# remove patches directory from tarball |
23 |
|
if [[ -d ${temp}/${svn_module}/patches ]] |
24 |
|
then |
25 |
|
rm -rf ${temp}/${svn_module}/patches |
26 |
|
fi |
27 |
mv ${temp}/${svn_module} ${tarball_prefix}-${latest_version} |
mv ${temp}/${svn_module} ${tarball_prefix}-${latest_version} |
28 |
rm ./${tarball_prefix}-${latest_version}/make-tarball.sh |
rm ./${tarball_prefix}-${latest_version}/make-tarball.sh |
29 |
find ./${tarball_prefix}-${latest_version} -name .svn | xargs rm -r |
find ./${tarball_prefix}-${latest_version} -name .svn | xargs rm -r |