]> Pileus Git - ~andy/sunrise/commitdiff
sunrise/sunrise/scripts/review: die if creating new local.use.desc fails
authorThomas Sachau <tommy@gentoo.org>
Thu, 11 Sep 2008 19:23:01 +0000 (19:23 +0000)
committerThomas Sachau <tommy@gentoo.org>
Thu, 11 Sep 2008 19:23:01 +0000 (19:23 +0000)
svn path=/sunrise/; revision=7068

scripts/review

index 54c7e748a03e9cbebc5cb80c8fd65d1652742248..8000a0d79c18c4e0c4d4b390c2e2b1d4a5b75398 100755 (executable)
@@ -91,7 +91,7 @@ while [[ $# > 0 ]] ; do
 done
 
 cd sunrise
-sh scripts/use_desc_gen.sh .
+sh scripts/use_desc_gen.sh . || exit $?
 if [[ $(svn diff profiles/use.local.desc) ]]; then
        svn diff profiles/use.local.desc | if [[ "$opt_quiet" == "0" ]] ; then less; else cat; fi
        echo -n "${BOLD}Commit changes?${NORMAL} [${GREEN}Yes${NORMAL}/${RED}No${NORMAL}] "