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