From d3ea7123b6dc15fc52d9f2a158818f260324b60b Mon Sep 17 00:00:00 2001 From: Mariano Simone Date: Tue, 10 Oct 2023 08:30:50 -0700 Subject: [PATCH] Fix DEBIAN path in make-deb.sh (#1117) Summary: I was trying to use `make-deb.sh`, and noticed that the path was wrong. Pull Request resolved: https://github.com/facebook/watchman/pull/1117 Reviewed By: xavierd Differential Revision: D50095231 Pulled By: genevievehelsel fbshipit-source-id: a5a362c1fb5567e9d6792eb69380e51d2d62c707 --- watchman/build/package/watchman-deb/make-deb.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"