summaryrefslogtreecommitdiff
path: root/tools/to-pack/sub-script/sendmail.sh
diff options
context:
space:
mode:
authorThomas Preud'homme <robotux@celest.fr>2018-02-24 00:13:45 +0000
committerThomas Preud'homme <robotux@celest.fr>2018-02-24 00:13:46 +0000
commit0fa6fb5a53789434e6ef57af39ab9024b7ec7d50 (patch)
tree9854613566cca815292f6fcad8e4d678afa30a9a /tools/to-pack/sub-script/sendmail.sh
parent2124f782c35cd832460d070186eaf72d935c1bdb (diff)
parentb00b0c864574c3842effe1705b66066fa228f950 (diff)
merge patched into master
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"