mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-26 14:41:14 +01:00
check exit status of make distclean. Change to xz compression as per patch from Benjamin Drung
This commit is contained in:
@@ -76,7 +76,13 @@ function cleanfulltree {
|
|||||||
else
|
else
|
||||||
make distclean 2>/dev/null > /dev/null;
|
make distclean 2>/dev/null > /dev/null;
|
||||||
fi
|
fi
|
||||||
printf "Done\n"
|
status=${?}
|
||||||
|
if [[ ${status} -eq 0 ]] ; then
|
||||||
|
printf "Done\n"
|
||||||
|
else
|
||||||
|
echo "Failed to make distclean: exit status was ${status}"
|
||||||
|
exit ${status}
|
||||||
|
fi
|
||||||
|
|
||||||
printf "removing SVN directories... ";
|
printf "removing SVN directories... ";
|
||||||
find . -depth -name '.svn' -execdir rm -rf '{}' ';'
|
find . -depth -name '.svn' -execdir rm -rf '{}' ';'
|
||||||
@@ -385,7 +391,7 @@ tar cf "audacity-fullsrc-${version}.tar" "${tarname}"
|
|||||||
printf "Done\n"
|
printf "Done\n"
|
||||||
|
|
||||||
printf "Compressing full source tarball in the background .... "
|
printf "Compressing full source tarball in the background .... "
|
||||||
bzip2 "audacity-fullsrc-${version}.tar" &
|
xz "audacity-fullsrc-${version}.tar" &
|
||||||
cd "${tardir}"
|
cd "${tardir}"
|
||||||
|
|
||||||
# now we have the full source tarball, lets slim it down to the bits that
|
# now we have the full source tarball, lets slim it down to the bits that
|
||||||
@@ -403,7 +409,7 @@ tar cf "audacity-minsrc-${version}.tar" "${tarname}"
|
|||||||
printf "Done\n"
|
printf "Done\n"
|
||||||
|
|
||||||
printf "Compressing minimal source tarball .... "
|
printf "Compressing minimal source tarball .... "
|
||||||
bzip2 "audacity-minsrc-${version}.tar"
|
xz "audacity-minsrc-${version}.tar"
|
||||||
|
|
||||||
cd "${tardir}"
|
cd "${tardir}"
|
||||||
printf "Done\n"
|
printf "Done\n"
|
||||||
|
|||||||
Reference in New Issue
Block a user