Skip to content

Commit

Permalink
fix offline build
Browse files Browse the repository at this point in the history
  • Loading branch information
anttikantee committed Jun 30, 2015
1 parent bca647a commit aa5a274
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions build-rr.sh
Expand Up @@ -118,11 +118,8 @@ parseargs ()
checksubmodules ()
{

# old git versions need to run submodule in the repo root. *sheesh*
# We assume that if the git submodule command fails, it's because
# we're using external $RUMPSRC
( top="$(git rev-parse --show-cdup)"
[ -z "${top}" ] || cd "${top}"
# we're using external $RUMPSRC.
if git submodule status ${RUMPSRC} 2>/dev/null | grep -q '^-' \
|| git submodule status ${BUILDRUMP} 2>/dev/null | grep -q '^-';
then
Expand All @@ -142,7 +139,7 @@ checksubmodules ()
echo '>>'
echo -n '>>'
for x in 1 2 3 4 5; do echo -n ' !' ; sleep 1 ; done
fi )
fi
}

checkprevbuilds ()
Expand Down

0 comments on commit aa5a274

Please sign in to comment.