summaryrefslogtreecommitdiffstats
path: root/crxmake
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2021-01-03 14:15:06 +0100
committertv <tv@krebsco.de>2021-01-03 15:48:36 +0100
commitdc47cb298e2d496ca9c6117d24c3ffcce4465a62 (patch)
tree9b583502a88c54ef3d2a5966bf7ccd3b7e68c37c /crxmake
parent3708a24275ee2e9f1addae2f187583a3fb5de57d (diff)
crxmake: make executable
Diffstat (limited to 'crxmake')
-rwxr-xr-x[-rw-r--r--]crxmake9
1 files changed, 4 insertions, 5 deletions
diff --git a/crxmake b/crxmake
index 7f14bee..11022b5 100644..100755
--- a/crxmake
+++ b/crxmake
@@ -1,9 +1,8 @@
-# Purpose: Pack a Chromium extension directory into crx format
+#! /bin/sh
+# Pack a Chromium extension directory into CRX3 format
+# usage: crxmake EXTENSION_DIR KEY_FILE
-if test $# -ne 2; then
- echo "Usage: crxmake.sh <extension dir> <pem path>"
- exit 1
-fi
+set -efu
dir=$1
key=$2