# HG changeset patch # User Christopher Rogers # Date 1297648279 0 # Node ID 5ab102a2359a4934128df2533c3875cd658bcc81 # Parent 6a0bc1cc0812f4802d4743d966a0f02835e7861e Fixed clean-src to exit if tmp/obsolete is not made. diff -r 6a0bc1cc0812 -r 5ab102a2359a tazwok --- a/tazwok Mon Feb 14 03:59:00 2011 +0100 +++ b/tazwok Mon Feb 14 01:51:19 2011 +0000 @@ -2597,6 +2597,10 @@ echo $TARBALL >> $tmp/obsolete done status + if ! [ -f $tmp/obsolete ]; then + echo "No sources need to be removed." + exit 1 + fi echo "" echo -e "\033[1mObsolete/unrelated-to-wok sourcess :\033[0m" horizontal_line