Created
May 27, 2012 18:53
-
-
Save danigiri/2815502 to your computer and use it in GitHub Desktop.
Hack to have maven-rpm-plugin work on Mac OS X
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# with this hack in your path, maven rpm plugin will work on mac os x | |
# -bb $1 | |
# --buildroot $2 | |
buildroot_="$3" | |
# --define $4 | |
topdir_="$5" | |
# --target $6 | |
# target $7 | |
spec_="$8" | |
/usr/local/bin/rpmbuild -bb --buildroot "$buildroot_" --define "$topdir_" --target 'noarch' "$spec_" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment