fix core: -export scripts weren't being ran in the correct folder

This commit is contained in:
prplwtf 2024-05-15 19:51:09 +02:00
parent d78a0ce924
commit e9de0de151

View file

@ -2019,7 +2019,7 @@ if [[ ( $2 == "-export" || $2 == "-e" ) ]]; then VCMD="y"
PTERODACTYL_DIRECTORY=\"$FOLDER\" \
BLUEPRINT_EXPORT_DIRECTORY=\"$FOLDER/.blueprint/tmp\" \
BLUEPRINT_VERSION=\"$VERSION\" \
bash \"${conf_data_directory}\"/export.sh
bash .blueprint/dev/\"${conf_data_directory}\"/export.sh
"
echo -e "\e[0m\x1b[0m\033[0m"
fi