Skip to content

Commit a004a73

Browse files
authored
Fix docker build script (vesoft-inc#916)
1 parent b585ea2 commit a004a73

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

package/package.sh

+1-3
Original file line numberDiff line numberDiff line change
@@ -194,11 +194,9 @@ function package {
194194
exit 1
195195
else
196196
# rename package file
197-
pkg_names=$(ls ./*nebula*-${version}*)
198197
outputDir=$build_dir/cpack_output
199198
mkdir -p ${outputDir}
200-
for pkg_name in "${pkg_names[@]}";
201-
do
199+
for pkg_name in $(ls ./*nebula*-${version}*); do
202200
new_pkg_name=${pkg_name/\-Linux/${sys_ver}}
203201
mv ${pkg_name} ${outputDir}/${new_pkg_name}
204202
echo "####### taget package file is ${outputDir}/${new_pkg_name}"

0 commit comments

Comments
 (0)