diff options
author | Alex Tarkovsky <alextarkovsky@gmail.org> | 2006-07-07 11:04:35 +0000 |
---|---|---|
committer | Alex Tarkovsky <alextarkovsky@gmail.org> | 2006-07-07 11:04:35 +0000 |
commit | 522a93377ccfce6f309d185076e6cc0a5396c462 (patch) | |
tree | e32741aff9940b0a3be193dba37db8a204de8bde /scripts/sunrise-commit | |
parent | sys-apps/remendeko: Changed the way to respect CC and CFLAGS (diff) | |
download | sunrise-522a93377ccfce6f309d185076e6cc0a5396c462.tar.gz sunrise-522a93377ccfce6f309d185076e6cc0a5396c462.tar.bz2 sunrise-522a93377ccfce6f309d185076e6cc0a5396c462.zip |
scripts/sunrise-commit: Fixed infinite loop condition
svn path=/sunrise/; revision=506
Diffstat (limited to 'scripts/sunrise-commit')
-rwxr-xr-x | scripts/sunrise-commit | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/sunrise-commit b/scripts/sunrise-commit index fb48d4559..06f17d98e 100755 --- a/scripts/sunrise-commit +++ b/scripts/sunrise-commit @@ -49,7 +49,6 @@ create_digests() { fi } - repoman_check() { if [[ "$opt_norepoman" == "0" ]] ; then if [[ "$cwd_is_ebuild_dir" == "1" ]] ; then @@ -226,9 +225,12 @@ fi [[ "$(ls)" =~ '\.ebuild' ]] && cwd_is_ebuild_dir=1 +pushd . >/dev/null while [[ "$(echo `svn status`)" =~ 'A.+? \.' ]] ; do (( num_new_dirs++ )) + cd .. done +popd >/dev/null svn_up || exit $? |