From mboxrd@z Thu Jan 1 00:00:00 1970 From: mysql.jorge at decimal.pt (Jorge Bastos) Date: Mon, 11 Aug 2014 21:33:18 +0100 Subject: Compile cGit 2.0.4 In-Reply-To: <20140811202418.GC1261@serenity.lan> References: <005a01cfb59c$29c75a50$7d560ef0$@jorge@decimal.pt> <20140811195358.GB1261@serenity.lan> <006e01cfb59e$5e615110$1b23f330$@jorge@decimal.pt> <20140811202418.GC1261@serenity.lan> Message-ID: <00a301cfb5a3$7c7ae800$7570b800$@jorge@decimal.pt> > "shtool" isn't a shell. /bin/sh is probably either dash or bash. What > does "dpkg -S /bin/sh" say? > > It looks like the problem is actually that the file has DOS line > endings. I get the exact same problem you do if I run: > > unix2dos gen-version.sh > > Have you got Git's "core.eol" config set to "crlf"? Didn't touch it. Ok dos2unix solved it, but, i havent edit that file, less with an windows editor, I think it came with that from last git pull I did. Peixe:/usr/local/src/cgit/cgit# dpkg -S /bin/sh diversion by dash from: /bin/sh diversion by dash to: /bin/sh.distrib dash: /bin/sh OK compiled! Thanks.