summaryrefslogtreecommitdiffstats
path: root/src/main/scripts/run_SendMigrationNotification.sh
diff options
context:
space:
mode:
authorWilliam Reehil <william.reehil@att.com>2020-07-07 12:43:33 +0000
committerGerrit Code Review <gerrit@onap.org>2020-07-07 12:43:33 +0000
commitbfc786f8a9bb550df1c70c9f425fa182246baba2 (patch)
tree76226164a61882dfe3778c6d4e64fe4a27089f27 /src/main/scripts/run_SendMigrationNotification.sh
parent6b697c5a177703d846ba74f4bd598934f9d5e2cb (diff)
parentbc565832b7b938a1df10ffa1c2e7c8caa1d71d41 (diff)
Merge "update junit to recheck for snapshot file"
Diffstat (limited to 'src/main/scripts/run_SendMigrationNotification.sh')
-rw-r--r--src/main/scripts/run_SendMigrationNotification.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/scripts/run_SendMigrationNotification.sh b/src/main/scripts/run_SendMigrationNotification.sh
index 4bcc0d9..994485e 100644
--- a/src/main/scripts/run_SendMigrationNotification.sh
+++ b/src/main/scripts/run_SendMigrationNotification.sh
@@ -1,4 +1,4 @@
-#!/bin/ksh
+#!/bin/bash
###
# ============LICENSE_START=======================================================
@@ -43,7 +43,7 @@ fi
INPUT_DIR_FOR_JAVA=${INPUT_PATH}/combined
mkdir -p "$INPUT_DIR_FOR_JAVA"
INPUT_FILE_FOR_JAVA=${INPUT_DIR_FOR_JAVA}/sorted_dmaap_files.txt
-sort --numeric-sort -k 1 -t '_' $(find ${INPUT_PATH}/* -maxdepth 0 -type f) | awk -F '_' '{ print $2"_"$3; }' > $INPUT_FILE_FOR_JAVA
+sort -g -k 1 -t '_' $(find ${INPUT_PATH}/* -maxdepth 0 -type f) | awk -F '_' '{ print $2"_"$3; }' > $INPUT_FILE_FOR_JAVA
shift