-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hijacking this PR to add these changes to add the Get_CRTM_Binary_Fil…
…es.sh, update the README.md files with appropriate version information. and removing the Uncompress_Binary_Files.sh files
- Loading branch information
1 parent
b767630
commit 7adb369
Showing
3 changed files
with
29 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
foldername="fix_REL-3.0.0_20230303" | ||
|
||
filename="${foldername}.tgz" | ||
if test -f "$filename"; then | ||
if [ -d "fix/" ]; then #fix directory exists | ||
echo "fix/ already exists, doing nothing." | ||
else | ||
#untar the file and move directory to fix | ||
tar -zxvf $filename | ||
mv $foldername fix | ||
echo "fix/ directory created from existing $filename file." | ||
fi | ||
else | ||
#download, untar, move | ||
echo "downloading $filename, please wait about 5 minutes (3.3 GB tar file)" | ||
wget ftp://ftp.ssec.wisc.edu/pub/s4/CRTM/$filename # CRTM binary files, add "-q" to suppress output. | ||
tar -zxvf $filename | ||
mv $foldername fix | ||
echo "fix/ directory created from downloaded $filename." | ||
fi | ||
echo "Completed." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.