mirror of
https://gitlab.com/MrFry/qmining-data-editor
synced 2025-04-01 20:24:01 +02:00
13 lines
306 B
Bash
Executable file
13 lines
306 B
Bash
Executable file
#!/bin/bash
|
|
scriptPath=$(dirname -- "${0}")
|
|
domainPath="${scriptPath}/../../data/domain"
|
|
|
|
if [ ! -f "${domainPath}" ]; then
|
|
echo -e "\033[0;41m${domainPath} does not exist!\033[0m"
|
|
exit 1
|
|
fi
|
|
domain=$(cat "${domainPath}")
|
|
|
|
DOMAIN="${domain}" npm run export
|
|
|
|
echo "Exported with domain: '${domain}'"
|