Commit 9407a332 authored by nextime's avatar nextime

Fix debian/rules dist directory creation issue

- Added mkdir -p dist command before copying existing wssshd binary
- Ensures dist directory exists when copying from ../dist/wssshd
- Fixes 'No such file or directory' error during Debian package build
- Resolves issue when reusing existing binary from parent dist directory
parent 98722483
......@@ -91,6 +91,7 @@ override_dh_auto_build:
# Check if wssshd binary already exists in dist directory
if [ -f ../dist/wssshd ]; then \
echo "Using existing wssshd binary from ../dist/wssshd"; \
mkdir -p dist; \
cp ../dist/wssshd dist/wssshd; \
else \
echo "Building PyInstaller binary"; \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment