From 5385bed9507ac1e019c71170ee396506c62e74e0 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Tue, 22 Jun 2021 07:50:42 -0400 Subject: [PATCH] Actually use the value of OUTPUT_DIR when copying bundled sources in nodejs-packaging-bundler --- nodejs-packaging-bundler | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodejs-packaging-bundler b/nodejs-packaging-bundler index e0b2c47..8deecf6 100755 --- a/nodejs-packaging-bundler +++ b/nodejs-packaging-bundler @@ -90,6 +90,6 @@ if [ -d node_modules_dev ] ; then tar cfz ../${PACKAGE_SAFE}-${VERSION}-nm-dev.tgz node_modules_dev fi cd .. -cp -v ${PACKAGE_SAFE}-${VERSION}* $HOME/rpmbuild/SOURCES +cp -v ${PACKAGE_SAFE}-${VERSION}* "${OUTPUT_DIR}" popd > /dev/null rm -rf ${TMP_DIR}