From c84755a652ed4459ae53f51f04de11756ca376d2 Mon Sep 17 00:00:00 2001 From: Frederick Yin Date: Sat, 13 Jun 2020 23:00:48 +0800 Subject: Separate CGI executable from cgi.py --- git-gmi/cgi | 3 +++ git-gmi/cgi.py | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100755 git-gmi/cgi mode change 100755 => 100644 git-gmi/cgi.py diff --git a/git-gmi/cgi b/git-gmi/cgi new file mode 100755 index 0000000..c0e0d25 --- /dev/null +++ b/git-gmi/cgi @@ -0,0 +1,3 @@ +#!/home/fakefred/p/git.gmi/venv/bin/python3.8 +# gotta change the executable path before running +import cgi.py \ No newline at end of file diff --git a/git-gmi/cgi.py b/git-gmi/cgi.py old mode 100755 new mode 100644 index c243ccd..9f0e1a9 --- a/git-gmi/cgi.py +++ b/git-gmi/cgi.py @@ -1,5 +1,3 @@ -#!/home/fakefred/p/git.gmi/venv/bin/python3.8 -# gotta change the executable path before running from git import * from const import * from os import environ, listdir -- cgit v1.2.3