Skip to content

Commit

Permalink
Fix rpmdir.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jens Braeuer committed Oct 14, 2011
1 parent 0ddc41b commit 7bd8dbd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rpm
Expand Up @@ -13,8 +13,8 @@ fi
spec=$(readlink -f "$1")
basedir=$(dirname $(readlink -f "$0"))

mkdir -p ${basedir}/{BUILD,RPMS}
mkdir -p ${basedir}/{BUILD,BUILDROOT,RPMS}
rpmbuild --verbose \
--define "_topdir ${basedir}" \
--define "_rpmdir ${basedir}" \
--define "_rpmdir ${basedir}/RPMS" \
-bb "${spec}"

0 comments on commit 7bd8dbd

Please sign in to comment.