Commits

György Kohut committed 8165f50

Fix script for target OS

  • Participants
  • Parent commits bf8079d

Comments (0)

Files changed (1)

test/submithttp.sh

-#!/bin/sh
+#!/bin/bash
 
 submiturl=localhost:9980/org.honeynet.hbbackend.submithttp/submit
 #verbosecurl=-v
-md5cmd="md5 -q"
-sha512cmd="{ openssl sha512 | cut -d' ' -f2 ;}"
+md5cmd="{ md5sum  | cut -d' ' -f1 ;}"
+sha512cmd="{ sha512sum | cut -d' ' -f1 ;}"
 
 ipsfile=$1
 bindir=$2