I was using distmaker.sh (https://github.com/civicrm/civicrm-core/blob/master/distmaker/distmaker.sh) to generate tarballs for testing.
I had my local branches all set to 4.6 (core, drupal, joomla and wordpress) however, distmaker switched to the master branch when building the files. I had created a buildkit drupal install and then cloned the joomla and wordpress repos into /sites/all/modules/civicrm/
Is there a setting to build the tarballs off a specific branch?