chiark
/
gitweb
/
~cjwatson
/
blog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e64bb4
)
css: save the whole command-line in postprocess.py.
author
Vladimír Vondruš
<mosra@centrum.cz>
Sun, 3 Dec 2017 13:31:32 +0000
(14:31 +0100)
committer
Vladimír Vondruš
<mosra@centrum.cz>
Mon, 4 Dec 2017 18:20:40 +0000
(19:20 +0100)
css/postprocess.py
patch
|
blob
|
history
diff --git
a/css/postprocess.py
b/css/postprocess.py
index 9ff7810688abdda042c9b81ae1032b8ac9fd193c..968d62e10103d9a1552a6d876b938592de8f370d 100755
(executable)
--- a/
css/postprocess.py
+++ b/
css/postprocess.py
@@
-27,6
+27,7
@@
import argparse
import re
import os
+import sys
import_rx = re.compile("^@import url\\('(?P<file>[^']+)'\\);$")
opening_brace_rx = re.compile("^\\s*:root\s*{\\s*$")
@@
-74,7
+75,7
@@
def postprocess(files):
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
*/
-""".format(' '.join(
files
)))
+""".format(' '.join(
sys.argv[1:]
)))
# Parse the top-level file
with open(files[0]) as f: