summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--customer-specific/pasa/src/appMain/SmartDeviceLinkMainApp.cpp3
-rwxr-xr-xtools/Utils/export-customer-specific.sh6
2 files changed, 7 insertions, 2 deletions
diff --git a/customer-specific/pasa/src/appMain/SmartDeviceLinkMainApp.cpp b/customer-specific/pasa/src/appMain/SmartDeviceLinkMainApp.cpp
index 01d9538925..801a7b69cb 100644
--- a/customer-specific/pasa/src/appMain/SmartDeviceLinkMainApp.cpp
+++ b/customer-specific/pasa/src/appMain/SmartDeviceLinkMainApp.cpp
@@ -167,7 +167,8 @@ int main(int argc, char** argv) {
INIT_LOGGER(profile::Profile::instance()->log4cxx_config_file());
- LOG4CXX_INFO(logger, " Application main()");
+ LOG4CXX_INFO(logger, "Snapshot: {TAG}");
+ LOG4CXX_INFO(logger, "Application main()");
utils::SharedPtr<threads::Thread> applink_notification_thread = new threads::Thread("Applink notification thread", new ApplinkNotificationThreadDelegate());
applink_notification_thread->start();
diff --git a/tools/Utils/export-customer-specific.sh b/tools/Utils/export-customer-specific.sh
index eed541cb40..b98be7e663 100755
--- a/tools/Utils/export-customer-specific.sh
+++ b/tools/Utils/export-customer-specific.sh
@@ -177,8 +177,12 @@ for entry in $include_bin; do
done
done
-cp -r $specificdir/* $export_dir
+function snapshot_tag() {
+ date +"SNAPSHOT_PASA%d%m%Y"
+}
+cp -r $specificdir/* $export_dir
+sed 's/{TAG}/'$(snapshot_tag)'/g' -i $export_dir/src/appMain/SmartDeviceLinkMainApp.cpp
find $export_dir \
-regex '.*\.\(cc\|h\|cpp\|hpp\)' \
-exec unix2dos {} \;