Skip to content

Commit

Permalink
Use workspace target directory location in Debian install file
Browse files Browse the repository at this point in the history
  • Loading branch information
syvb committed Nov 21, 2024
1 parent 38e0085 commit d2929a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/package-deb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ Depends: postgresql-$pg
Description: pgvectorscale for speeding up ANN search
EOF

echo "target/release/vectorscale-pg$pg/$libdir/* usr/lib/postgresql/$pg/lib/" >"${BASEDIR}"/debian/pgvectorscale-postgresql-"$pg".install
echo "target/release/vectorscale-pg$pg/$sharedir/* usr/share/postgresql/$pg/" >>"${BASEDIR}"/debian/pgvectorscale-postgresql-"$pg".install
echo "../target/release/vectorscale-pg$pg/$libdir/* usr/lib/postgresql/$pg/lib/" >"${BASEDIR}"/debian/pgvectorscale-postgresql-"$pg".install
echo "../target/release/vectorscale-pg$pg/$sharedir/* usr/share/postgresql/$pg/" >>"${BASEDIR}"/debian/pgvectorscale-postgresql-"$pg".install
done

dpkg-buildpackage --build=binary --no-sign --post-clean
Expand Down

0 comments on commit d2929a8

Please sign in to comment.