summaryrefslogtreecommitdiff
path: root/scripts/ip2hex
diff options
context:
space:
mode:
authorcathugger <cathugger@cock.li>2017-03-10 03:30:16 +0000
committercathugger <cathugger@cock.li>2017-03-10 03:30:16 +0000
commit7e5469a0dee1fbaf661720fc330d47d992f1d8fe (patch)
treed5f8a16a1ae8e390103e35a77d975e3157115236 /scripts/ip2hex
parent9ec38bd2c56d112e49360c4f8be92900c998205c (diff)
downloadresdb-7e5469a0dee1fbaf661720fc330d47d992f1d8fe.tar.gz
resdb-7e5469a0dee1fbaf661720fc330d47d992f1d8fe.zip
add muh nameserver, some script tweaks
Diffstat (limited to 'scripts/ip2hex')
-rwxr-xr-xscripts/ip2hex2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/ip2hex b/scripts/ip2hex
index 2c8ce36..9cd2a99 100755
--- a/scripts/ip2hex
+++ b/scripts/ip2hex
@@ -5,5 +5,5 @@ if [ x"$1" = x ]; then
fi
for x in $(echo -n "$1" | tr . ' ') ; do
- ./scripts/dec2hex "$x"
+`dirname "$0"`/dec2hex "$x"
done | tr '\n' / | head -c -1 ; echo