fixed distmaker script for d6/d7
Merge pull request #44 from kurund/distmaker-fixes

fixed distmaker script for d6/d7