toolkit/mangle/bugs/generate_category_sql

5 lines
180 B
Bash

#!/bin/bash
NAME="${1}"
PROJECT_ID="${2}"
printf "INSERT INTO mantis_category_table (project_id, user_id, name, status) VALUES('%s', '0', '%s', '0');\n" "${PROJECT_ID}" "${NAME}"