summaryrefslogtreecommitdiff
path: root/tools/to-pack/sub-script/sendmail.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/to-pack/sub-script/sendmail.sh')
-rw-r--r--tools/to-pack/sub-script/sendmail.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/tools/to-pack/sub-script/sendmail.sh b/tools/to-pack/sub-script/sendmail.sh
new file mode 100644
index 0000000..909972c
--- /dev/null
+++ b/tools/to-pack/sub-script/sendmail.sh
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+if [ "${TEMP_PATH}" = "" ]
+then
+ exit;
+fi
+if [ "${ULTRACOPIER_VERSION}" = "" ]
+then
+ exit;
+fi
+SUPERCOPIER_VERSION=`echo "${ULTRACOPIER_VERSION}"`
+
+cd ${TEMP_PATH}/
+
+echo "Send mail..."
+/usr/bin/php /home/first-world.info/shop/sendmail_ultracopier_version.php ${ULTRACOPIER_VERSION}
+echo "Send mail... done"