Issue #1569 has been updated by jamtur01. Category set to library Status changed from Unreviewed to Accepted Target version changed from 1.5.2 to 1.5.3
---------------------------------------- Bug #1569: createpackage.sh OS X package creation fails if run from conf/osx directory http://reductivelabs.com/redmine/issues/show/1569 Author: Kyle Status: Accepted Priority: Normal Assigned to: Category: library Target version: 1.5.3 Complexity: Trivial Keywords: A couple bugs: This one appears to be a copy paste error as it should go up one more level to find install.rb: @@ -37,7 +37,7 @@ elif [ -f "../${INSTALLRB}" ]; then installer="$(pwd)/../${INSTALLRB}" elif [ -f "../../${INSTALLRB}" ]; then - installer="$(pwd)/../${INSTALLRB}" + installer="$(pwd)/../../${INSTALLRB}" else installer="" fi This one fails to actually perform the installation unless you run it from the install.rb folder. @@ -49,7 +49,8 @@ function install_facter() { echo "Installing Facter to ${pkgroot}" - "${installer}" --destdir="${pkgroot}" --bindir="${BINDIR}" --sitelibdir="${SITELIBDIR}" &> /dev/null + cd "$facter_root" + ./"${INSTALLRB}" --destdir="${pkgroot}" --bindir="${BINDIR}" --sitelibdir="${SITELIBDIR}" &> /dev/null chown -R root:admin "${pkgroot}" } ---------------------------------------- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://reductivelabs.com/redmine/my/account --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en -~----------~----~----~----~------~----~------~--~---
