interplane.Get Omega
Read in your language

git

[Ported from github.com/git/git] Sync with Git 2.56.1

Brought by drakestapleton

branch master Branches Tags History

git / gitk-git / generate-tcl.sh

11 lines · 196 bytes Raw Blame History
1#!/bin/sh
2
3set -e
4
5WISH=$(echo "$1" | sed 's/|/\\|/g')
6INPUT="$2"
7OUTPUT="$3"
8
9sed -e "1,3s|^exec .* \"\$0\"|exec $WISH \"\$0\"|" "$INPUT" >"$OUTPUT"+
10chmod a+x "$OUTPUT"+
11mv "$OUTPUT"+ "$OUTPUT"