diff --git a/watchman/build/package/watchman-deb/make-deb.sh b/watchman/build/package/watchman-deb/make-deb.sh index 9dade4bba02d..1e87bfd0c870 100755 --- a/watchman/build/package/watchman-deb/make-deb.sh +++ b/watchman/build/package/watchman-deb/make-deb.sh @@ -50,7 +50,7 @@ trap 'rm -rf -- "$PACKAGE_WORKDIR"' EXIT mkdir -p "$PACKAGE_WORKDIR$PREFIX" cp -ar "$BUILT/bin" "$PACKAGE_WORKDIR$PREFIX/bin" -cp -ar watchman/build/package/DEBIAN "$PACKAGE_WORKDIR" +cp -ar watchman/build/package/watchman-deb/DEBIAN "$PACKAGE_WORKDIR" sed -i "s/%VERSION%/$PACKAGE_VERSION/" "$PACKAGE_WORKDIR/DEBIAN/control"