diff options
author | Leah Rowe <info@minifree.org> | 2017-06-25 23:50:50 +0000 |
---|---|---|
committer | Gogs <gogitservice@gmail.com> | 2017-06-25 23:50:50 +0000 |
commit | 3f32c13d5ac9159978556bc3fcfd73f39b4e218d (patch) | |
tree | b3595320f129404ef8c593c223abed7e82643895 /libs/common | |
parent | 0accfe9b22fc8d79461101c33f876767da72d3ef (diff) | |
parent | 00966661823723ea929ddf1f913d8ab0c2fc4796 (diff) | |
download | librebootfr-3f32c13d5ac9159978556bc3fcfd73f39b4e218d.tar.gz librebootfr-3f32c13d5ac9159978556bc3fcfd73f39b4e218d.zip |
Merge branch 'renaming-vars' of kragle/libreboot into master
Diffstat (limited to 'libs/common')
-rwxr-xr-x | libs/common | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libs/common b/libs/common index 6cd2dfe0..d0fd1203 100755 --- a/libs/common +++ b/libs/common @@ -39,9 +39,9 @@ DOTRNDSEED=".rndseed" DOTVERSION=".version" DOTREVISION=".revision" DOTTARFILES=".tarfiles" -TAR_XZ="tar.xz" -SHA256SUM="sha256sum" -ASC="asc" +ARCHIVE="tar.xz" +CHECKSUM="sha256sum" +DSIG="asc" function_check() { local function=$1 @@ -93,7 +93,7 @@ path_wildcard_expand() { file_checksum_create() { local path=$1 - local checksum_path="$path.$SHA256SUM" + local checksum_path="$path.$CHECKSUM" local name=$( basename "$path" ) local directory_path=$( dirname "$path" ) @@ -106,7 +106,7 @@ file_checksum_create() { file_checksum_check() { local path=$1 - local checksum_path="$path.$SHA256SUM" + local checksum_path="$path.$CHECKSUM" local name=$( basename "$path" ) local directory_path=$( dirname "$path" ) @@ -125,7 +125,7 @@ file_checksum_check() { file_signature_create() { local path=$1 - local signature_path="$path.$ASC" + local signature_path="$path.$DSIG" if [ -z "$RELEASE_KEY" ] then @@ -138,7 +138,7 @@ file_signature_create() { file_signature_check() { local path=$1 - local signature_path="$path.$ASC" + local signature_path="$path.$DSIG" if ! [ -f "$signature_path" ] then |