aboutsummaryrefslogtreecommitdiffstats
path: root/build/make_packages.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build/make_packages.sh')
-rwxr-xr-xbuild/make_packages.sh30
1 files changed, 0 insertions, 30 deletions
diff --git a/build/make_packages.sh b/build/make_packages.sh
deleted file mode 100755
index 14513bee..00000000
--- a/build/make_packages.sh
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/bash
-##############################################################################
-# Copyright (c) 2016 HUAWEI TECHNOLOGIES CO.,LTD and others.
-#
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Apache License, Version 2.0
-# which accompanies this distribution, and is available at
-# http://www.apache.org/licenses/LICENSE-2.0
-##############################################################################
-set -ex
-
-BUILD_PATH=$(cd "$(dirname "$0")"; pwd)
-WORK_PATH=$(cd "$(dirname "$0")"/..; pwd)
-
-if [[ -d $WORK_PATH/work/repo/packages ]]; then
- rm -rf $WORK_PATH/work/repo/packages
-fi
-
-if [[ -d $WORK_PATH/work/repo/temp ]]; then
- rm -rf $WORK_PATH/work/repo/temp
-fi
-
-mkdir -p $WORK_PATH/work/repo/packages
-mkdir -p $WORK_PATH/work/repo/temp
-
-for i in `ls $WORK_PATH/build/packages`; do
- . $WORK_PATH/build/packages/$i $WORK_PATH/repo/packages
-done
-
-tar -zcvf $WORK_PATH/repo/packages.tar.gz $WORK_PATH/work/repo/packages