mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-18 03:52:11 +01:00
LP-187 MSYS2: fix unzip for msys2
This commit is contained in:
parent
0f33a036c8
commit
98d75433e2
@ -76,12 +76,7 @@ function download_file
|
||||
#2 The output directory
|
||||
function zip_extract
|
||||
{
|
||||
if [ "$uname" = Windows ]
|
||||
then
|
||||
7za.exe x -o"$2" "$1"
|
||||
else
|
||||
unzip "$1" -d "$2"
|
||||
fi
|
||||
unzip "$1" -d "$2"
|
||||
}
|
||||
|
||||
## Extracts a 7zip file
|
||||
|
Loading…
x
Reference in New Issue
Block a user