diff options
author | swills <swills@FreeBSD.org> | 2015-07-01 23:26:41 +0800 |
---|---|---|
committer | swills <swills@FreeBSD.org> | 2015-07-01 23:26:41 +0800 |
commit | 980fbd05080db3f4b6decadd828061055d2a960e (patch) | |
tree | e1847fa924fb58ba145ced5d4f631bebc15b1b9f /Mk | |
parent | 97830102845fc7cb817e323e2b4771c57cf7a979 (diff) | |
download | freebsd-ports-gnome-980fbd05080db3f4b6decadd828061055d2a960e.tar.gz freebsd-ports-gnome-980fbd05080db3f4b6decadd828061055d2a960e.tar.zst freebsd-ports-gnome-980fbd05080db3f4b6decadd828061055d2a960e.zip |
Remove disconnected script
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/Scripts/pkgencode.awk | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/Mk/Scripts/pkgencode.awk b/Mk/Scripts/pkgencode.awk deleted file mode 100644 index b37a00ac065b..000000000000 --- a/Mk/Scripts/pkgencode.awk +++ /dev/null @@ -1,23 +0,0 @@ -# $FreeBSD$ - -BEGIN { - for (i = 0; i <= 255; i++) - ord[sprintf("%c", i)] = i - for (i = 0; i < 128; i++) { - if (i != 37) - ascii = sprintf("%s%c", ascii, i) - } -} -function encode(str, c, len, res) { - len = length(str) - res = "" - for (i = 1; i <= len; i++) { - c = substr(str, i, 1); - if (index(ascii, c) != 0) - res = res c - else - res = res "%" sprintf("%02X", ord[c]) - } - return res -} -{ print encode($0); } |