summaryrefslogtreecommitdiffstats
path: root/makedeps.sh
diff options
context:
space:
mode:
Diffstat (limited to 'makedeps.sh')
-rwxr-xr-xmakedeps.sh14
1 files changed, 9 insertions, 5 deletions
diff --git a/makedeps.sh b/makedeps.sh
index b102749..19b479d 100755
--- a/makedeps.sh
+++ b/makedeps.sh
@@ -4,17 +4,21 @@ if [ $# -lt 1 ]; then
echo usage $0 version
exit 0
fi
-if [ -f skywalking_agent-$1.tgz ]; then
+
+if [ -f skywalking-php-$1.tar.gz ]; then
echo "+ Unpack"
- tar xf skywalking_agent-$1.tgz
+ tar xf skywalking-php-$1.tar.gz
- pushd skywalking_agent-$1
+ pushd skywalking-php-$1
echo "+ Fetch"
cargo vendor mycargo
echo "+ Pack"
- tar czf ../skywalking_agent-deps-$1.tgz mycargo
+ tar czf ../skywalking-php-deps-$1.tar.gz mycargo
popd
+
+ echo "+ Clean"
+ rm -r skywalking-php-$1
else
- echo skywalking_agent-$version.tgz missing
+ echo skywalking-php-$version.tar.gz missing
fi