Guest User

Untitled

a guest
Jan 16th, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.85 KB | None | 0 0
  1. CHECKSUM=$(md5sum $(myfile))
  2.  
  3. test:
  4. CHECKSUM=$(md5sum $(myfile))
  5. echo $$CHECKSUM
  6.  
  7. test:
  8. CHECKSUM=$(md5sum $(myfile)); echo $$CHECKSUM
  9.  
  10. test:
  11. CHECKSUM=$(md5sum $(myfile));
  12. echo $$CHECKSUM;
  13. echo $$CHECKSUM;
  14.  
  15. CHECKSUM := $(shell md5sum $(myfile))
  16.  
  17. SHELL:=/bin/bash
  18. ANACONDA_MD5:=c989ecc8b648ab8a64731aaee9ed2e7e
  19.  
  20. none:
  21.  
  22. Anaconda3-5.0.1-Linux-x86_64.sh:
  23. wget https://repo.continuum.io/archive/Anaconda3-5.0.1-Linux-x86_64.sh
  24.  
  25. download: Anaconda3-5.0.1-Linux-x86_64.sh
  26.  
  27. verify: download
  28. AnacondaMD5="$$(md5sum Anaconda3-5.0.1-Linux-x86_64.sh | cut -d ' ' -f1)" &&
  29. if [ "$$AnacondaMD5" == '$(ANACONDA_MD5)' ]; then echo "md5sum matches"; fi
  30.  
  31. $ make verify
  32. wget https://repo.continuum.io/archive/Anaconda3-5.0.1-Linux-x86_64.sh
  33. --2018-01-16 18:11:50-- https://repo.continuum.io/archive/Anaconda3-5.0.1-Linux-x86_64.sh
  34. Resolving repo.continuum.io... 104.16.18.10, 104.16.19.10, 2400:cb00:2048:1::6810:130a, ...
  35. Connecting to repo.continuum.io|104.16.18.10|:443... connected.
  36. HTTP request sent, awaiting response... 200 OK
  37. Length: 550796553 (525M) [application/x-sh]
  38. Saving to: `Anaconda3-5.0.1-Linux-x86_64.sh'
  39.  
  40. 100%[====================================================================================================================>] 550,796,553 103M/s in 6.8s
  41.  
  42. 2018-01-16 18:11:59 (77.0 MB/s) - `Anaconda3-5.0.1-Linux-x86_64.sh' saved [550796553/550796553]
  43.  
  44. AnacondaMD5="$(md5sum Anaconda3-5.0.1-Linux-x86_64.sh | cut -d ' ' -f1)" &&
  45. if [ "$AnacondaMD5" == 'c989ecc8b648ab8a64731aaee9ed2e7e' ]; then echo "md5sum matches"; fi
  46. md5sum matches
  47.  
  48. $ make --version
  49. GNU Make 3.81
  50. Copyright (C) 2006 Free Software Foundation, Inc.
  51. This is free software; see the source for copying conditions.
  52. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
  53. PARTICULAR PURPOSE.
  54.  
  55. This program built for x86_64-redhat-linux-gnu
Add Comment
Please, Sign In to add comment