mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 05:52:36 +02:00
get.sh: fix bad mkdir command
this is the mkdir call that createsn the directory where a cached git repository is moved to, during creation. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
+1
-1
@@ -139,7 +139,7 @@ try_git()
|
||||
x_ rm -Rf "$tmpgitcache"
|
||||
|
||||
[ -d "$gitdest" ] || ( x_ git clone "$2" "$tmpgitcache" ) || return 1
|
||||
[ -d "$gitdest" ] || x_ mkdir -p "${gitdest##*/}"
|
||||
[ -d "$gitdest" ] || x_ mkdir -p "${gitdest%/*}"
|
||||
[ -d "$gitdest" ] || x_ mv "$tmpgitcache" "$gitdest"
|
||||
|
||||
( x_ git -C "$gitdest" remote add main "$4" 2>/dev/null ) || :
|
||||
|
||||
Reference in New Issue
Block a user