summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Phillip Brink (binki) <ohnobinki@ohnopublishing.net>2011-10-12 02:47:58 +0000
committerNathan Phillip Brink (binki) <ohnobinki@ohnopublishing.net>2011-10-12 02:47:58 +0000
commit2aaf95816886cb2d5f54bae64d8d5ec5614a9d24 (patch)
treea07acea172de67a9361d7ebea4be372ce1b56022 /scripts/review
parentRevert r12454, this version of x11-plugins/pidgin-blinklight committed withou... (diff)
downloadsunrise-2aaf95816886cb2d5f54bae64d8d5ec5614a9d24.tar.gz
sunrise-2aaf95816886cb2d5f54bae64d8d5ec5614a9d24.tar.bz2
sunrise-2aaf95816886cb2d5f54bae64d8d5ec5614a9d24.zip
Make review script more particular about the directory from which it is run.
svn path=/sunrise/; revision=12457
Diffstat (limited to 'scripts/review')
-rwxr-xr-xscripts/review2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/review b/scripts/review
index 0929b22a4..cc19f0e7a 100755
--- a/scripts/review
+++ b/scripts/review
@@ -93,7 +93,7 @@ while [[ $# > 0 ]] ; do
esac
done
-cd sunrise
+cd sunrise || { eerror "You must run this script from the top level of the sunrise subversion repository."; exit 1; }
LC_ALL="C" ls -d *-* > profiles/categories
if [[ $(svn diff profiles/categories) ]]; then
svn diff profiles/categories | if [[ "$opt_quiet" == "0" ]] ; then less; else cat; fi