Skip to content

Commit 00078f4

Browse files
authored
Fix debian build (#10)
Co-authored-by: Juan Manuel Méndez Rey <[email protected]>
1 parent e79d171 commit 00078f4

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

packaging/debian/docker/build.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ echo "=== Starting Debian package build ==="
1515
mkdir -p "$BUILD_DIR"
1616
cd "$BUILD_DIR"
1717

18-
# Clone the repository
19-
echo "Cloning repository..."
20-
git clone https://github.com/vejeta/conquer conquer-4.12
18+
# Instead of cloning, copy the source from the mounted volume
19+
echo "Copying source from mounted volume..."
20+
cp -r "$WORK_DIR/gpl-release" ./conquer-4.12
2121
cd conquer-4.12
2222

2323
# Copy Debian packaging files
@@ -47,7 +47,7 @@ debuild -us -uc -b
4747
# Create output directory and copy packages
4848
mkdir -p "$OUTPUT_DIR"
4949
cp ../*.deb "$OUTPUT_DIR/"
50-
cp ../*.changes "$OUTPUT_DIR/"
50+
cp ../*.changes "$OUTPUT_DIR/" || true
5151

5252
echo "=== Package build complete ==="
5353
ls -la "$OUTPUT_DIR/"

0 commit comments

Comments
 (0)