mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-11 01:50:31 +08:00
fix: unzip package for windows
This commit is contained in:
@@ -91,8 +91,13 @@ function main() {
|
||||
echo
|
||||
|
||||
echoInfo "Extracting..."
|
||||
echo "$ tar -xzf $pkg"
|
||||
tar -xzf "$pkg"
|
||||
if [[ $os == windows ]]; then # windows
|
||||
echo "$ unzip -o $pkg -d ."
|
||||
unzip -o $pkg -d .
|
||||
else
|
||||
echo "$ tar -xzf $pkg"
|
||||
tar -xzf "$pkg"
|
||||
fi
|
||||
echo "$ ls -lh"
|
||||
ls -lh
|
||||
echo
|
||||
|
||||
Reference in New Issue
Block a user