id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	branch_state	votes
2295	file missing in distribution: maint/version.sh	Catcher		"I was compiling mc for my system, SunOS.i386, and the make process died with ""./maint/version.sh: File not found"". Sure enough, this file was not present in the mc-4.7.2.tar.gz download. I found this file on your website, however, and copied it over, and managed to finish the make process successfully, after making a couple of edits to it.

The edits were to get around the error message:

./maint/version.sh: syntax error at line 36: `git_head=$' unexpected

and were as follows:

#git_head=$(git --git-dir ""${src_top_dir}/.git"" rev-parse --verify HEAD 2>/dev/null)
git_head=""4.7.2""

#new_version=""$(git --git-dir ""${src_top_dir}/.git"" describe 2>/dev/null)""
new_version=""4.7.2""

I am not familiar with git or shell syntax, and don't know what version.sh is supposed to accomplish, and therefore don't really know what's happening here except that I managed to get around the problem.

Thought that I would post this here so that others who try to compile can benefit.

Thanks,
Catcher"	defect	closed	major	4.7	mc-core	4.7.2	fixed						
