Skip to content

Commit 279d254

Browse files
committed
Updating to only install wheel and not dir.
1 parent e9d8e55 commit 279d254

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build_scripts/debian/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ cd -
6666
dist_dir=$source_dir/dist
6767

6868
# Ignore the dev latest wheel since build outputs two.
69-
all_modules=`find $dist_dir -not -name "mssql_cli-dev-latest-py2.py3-none-manylinux1_x86_64.whl"`
69+
all_modules=`find $dist_dir -not -name "mssql_cli-dev-latest-py2.py3-none-manylinux1_x86_64.whl" -type f`
7070
$source_dir/python_env/bin/pip3 install $all_modules
7171

7272
# Add the debian files.

build_scripts/rpm/mssql-cli.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export CUSTOM_PIP=%{python_dir}/bin/pip3
7171
dist_dir=%{repo_path}/dist
7272

7373
# Ignore the dev latest wheel since build outputs two.
74-
all_modules=`find $dist_dir -not -name "mssql_cli-dev-latest-py2.py3-none-manylinux1_x86_64.whl"`
74+
all_modules=`find $dist_dir -not -name "mssql_cli-dev-latest-py2.py3-none-manylinux1_x86_64.whl" -type f`
7575
%{python_dir}/bin/pip3 install $all_modules
7676

7777
# Create executable

0 commit comments

Comments
 (0)