t5550: use write_script to generate post-update hook
commit1fd1a919ce9135a34866d5d13aed5312ea5e07f1
authorBrandon Williams <bmwill@google.com>
Tue, 18 Apr 2017 23:17:55 +0000 (18 16:17 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 19 Apr 2017 04:27:08 +0000 (18 21:27 -0700)
tree8ef15e684c40f76b373fa74454269b2886d77d3b
parent584f8975d2d9530a34bd0b936ae774f82fe30fed
t5550: use write_script to generate post-update hook

The post-update hooks created in t5550-http-fetch-dumb.sh is missing the
"!#/bin/sh" line which can cause issues with portability.  Instead
create the hook using the 'write_script' function which includes the
proper "#!" line.

Signed-off-by: Brandon Williams <bmwill@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5550-http-fetch-dumb.sh