diff options
author | Simon Rettberg | 2017-11-27 13:44:42 +0100 |
---|---|---|
committer | Simon Rettberg | 2017-11-27 13:44:42 +0100 |
commit | 43f1d00d82050418cc4b693a12ae74b24dd677e6 (patch) | |
tree | d34fd3ee6c8c8eb4c406ffa3938fecfcc66e38e9 /core/modules/busybox/module.build | |
parent | [busybox] Only clone repo if it doesn't exist (diff) | |
download | mltk-43f1d00d82050418cc4b693a12ae74b24dd677e6.tar.gz mltk-43f1d00d82050418cc4b693a12ae74b24dd677e6.tar.xz mltk-43f1d00d82050418cc4b693a12ae74b24dd677e6.zip |
I'm just an idiot
Diffstat (limited to 'core/modules/busybox/module.build')
-rw-r--r-- | core/modules/busybox/module.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/busybox/module.build b/core/modules/busybox/module.build index 80d7c8ba..2721dd04 100644 --- a/core/modules/busybox/module.build +++ b/core/modules/busybox/module.build @@ -1,7 +1,7 @@ #!/bin/bash fetch_source() { - if ! [ -d "etc/.git" ]; then + if ! [ -d "src/.git" ]; then git clone --depth 1 "${REQUIRED_GIT}" --branch "$REQUIRED_BRANCH" src || perror "Could not clone busybox git" fi cd src || perror "Could not cd to src" |