Skip to content

Commit

Permalink
corrected build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
TomBlock committed Nov 30, 2018
1 parent 5eb5ed9 commit 94e4356
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion backup_bin_to_bin_archive_with_timestamp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ binpath=$mmspath/bin
binarcpath=$mmspath/bin_archive
bintime="$(find "$binpath" -name lib -type d -printf "%TF_%TT %f\n" | cut -c -19)"
echo "backup bin dir to bin_archive with timestamp $bintime"
mv "$binpath" "$binarcpath/${binpath##*/}-$bintime"
cp "$binpath" "$binarcpath/${binpath##*/}-$bintime"
echo "... done"
2 changes: 1 addition & 1 deletion backup_bin_to_bin_archive_with_timestamp_sst.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ binpath=$mmspath/bin
binarcpath=$mmspath/bin_archive
bintime="$(find "$binpath" -name lib -type d -printf "%TF_%TT %f\n" | cut -c -19)"
echo "backup bin dir to bin_archive with timestamp $bintime"
mv "$binpath" "$binarcpath/${binpath##*/}-$bintime"
cp "$binpath" "$binarcpath/${binpath##*/}-$bintime"
echo "... done"
2 changes: 1 addition & 1 deletion build_and_install_on_cems.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ mvn clean install package assembly:directory

bash backup_bin_to_bin_archive_with_timestamp.sh
# echo "clean up bin dir"
# rm -rf /group_workspaces/cems2/fiduceo/Software/mms/bin/*
echo "copy build result to bin dir"
rm -rf /group_workspaces/cems2/fiduceo/Software/mms/bin/*
cp -a target/fiduceo-master-1.4.1-MMS/* /group_workspaces/cems2/fiduceo/Software/mms/bin

2 changes: 1 addition & 1 deletion build_and_install_on_cems_sst.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ mvn clean install package assembly:directory

bash backup_bin_to_bin_archive_with_timestamp_sst.sh
# echo "clean up bin dir"
# rm -rf /group_workspaces/cems2/esacci_sst/mms_new/bin/*
echo "copy build result to bin dir"
rm -rf /group_workspaces/cems2/esacci_sst/mms_new/bin/*
cp -a target/fiduceo-master-1.4.1-MMS/* /group_workspaces/cems2/esacci_sst/mms_new/bin

0 comments on commit 94e4356

Please sign in to comment.