Skip to content

Commit

Permalink
git-checkout.sh: use "mkdir -p"
Browse files Browse the repository at this point in the history
Otherwise mkdir extras/mini-os fails because extras doesn't exist.

Signed-off-by: Wei Liu <[email protected]>
Cc: Ian Campbell <[email protected]>
Cc: Ian Jackson <[email protected]>
Acked-by: Ian Campbell <[email protected]>
  • Loading branch information
Wei Liu committed Feb 27, 2015
1 parent ec51ec2 commit 4a65927
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/git-checkout.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ set -e

if test \! -d $DIR-remote; then
rm -rf $DIR-remote $DIR-remote.tmp
mkdir $DIR-remote.tmp; rmdir $DIR-remote.tmp
mkdir -p $DIR-remote.tmp; rmdir $DIR-remote.tmp
$GIT clone $TREE $DIR-remote.tmp
if test "$TAG" ; then
cd $DIR-remote.tmp
Expand Down

0 comments on commit 4a65927

Please sign in to comment.