FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
git/tools/generate-python.sh at master · gitgitgadget/git · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
gitgitgadget
/
git
Public
forked from
git/git
Notifications
You must be signed in to change notification settings
Fork
196
Star
305
Code
Issues
76
Pull requests
226
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
git
/
tools
/
generate-python.sh
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
20 lines (15 loc) · 294 Bytes
Breadcrumbs
git
/
tools
/
generate-python.sh
Copy path
File metadata and controls
executable file
·
20 lines (15 loc) · 294 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!
/bin/sh
set
-e
if
test
$#
-ne 3
then
echo
>&2
"
USAGE:
$0
<GIT_BUILD_OPTIONS> <INPUT> <OUTPUT>
"
exit
1
fi
GIT_BUILD_OPTIONS=
"
$1
"
INPUT=
"
$2
"
OUTPUT=
"
$3
"
.
"
$GIT_BUILD_OPTIONS
"
sed -e
"
1s|#!.*python|#!
$PYTHON_PATH
|
"
\
"
$INPUT
"
>
"
$OUTPUT
+
"
chmod a+x
"
$OUTPUT
+
"
mv
"
$OUTPUT
+
"
"
$OUTPUT
"
Back
|
FazBrowse Home
|
New Git URL