From 335ab5a8064207df200fface343bf795b5b11b20 Mon Sep 17 00:00:00 2001 From: onefang Date: Thu, 2 Sep 2021 22:39:10 +1000 Subject: Do the git chekout in the proper directory. --- src/BuildIt.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/BuildIt.sh b/src/BuildIt.sh index 65942e9..18f9818 100755 --- a/src/BuildIt.sh +++ b/src/BuildIt.sh @@ -88,8 +88,10 @@ echo "" if [ ! -d git-sub-modules/toybox ]; then pushd git-sub-modules >/dev/null git clone https://github.com/landley/toybox.git + pushd toybox >/dev/null git checkout 5a6d1746baacb40e2a3f094af50dbe9871afa3cf popd >/dev/null + popd >/dev/null else pushd git-sub-modules/toybox >/dev/null echo "Updating toybox." -- cgit v1.1