In nodejs-packaging-bundler, use %{_sourcedir} for output

Fixes RHBZ#1974709
This commit is contained in:
Benjamin A. Beasley 2021-06-22 07:52:34 -04:00
parent 5385bed950
commit fb332bd0ea

View File

@ -1,5 +1,5 @@
#!/bin/bash
OUTPUT_DIR="${HOME}/rpmbuild/SOURCES"
OUTPUT_DIR="$(rpm -E '%{_sourcedir}')"
usage() {
echo "Usage `basename $0` <npm_name> [version] " >&2