From 00966661823723ea929ddf1f913d8ab0c2fc4796 Mon Sep 17 00:00:00 2001 From: Andrew Robbins Date: Sun, 25 Jun 2017 18:00:48 -0400 Subject: Vars TAR_XZ,ASC,SHA256SUM renamed for generality. Will help facilitate sane code when handling: archive formats, checksum file extensions, signature formats. --- projects/libreboot-sources/install/libreboot-sources | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'projects/libreboot-sources') diff --git a/projects/libreboot-sources/install/libreboot-sources b/projects/libreboot-sources/install/libreboot-sources index f51fb93a..d836054d 100755 --- a/projects/libreboot-sources/install/libreboot-sources +++ b/projects/libreboot-sources/install/libreboot-sources @@ -18,7 +18,7 @@ BUILD_SYSTEM="libreboot" SOURCES="sources" -TAR_XZ="tar.xz" +ARCHIVE="tar.xz" usage() { printf '%s\n' "$executable [action] [sources path] (extract path)" >&2 @@ -46,7 +46,7 @@ extract() { return fi - archive=$( find $sources_path -name "$BUILD_SYSTEM-sources.$TAR_XZ" || true ) + archive=$( find $sources_path -name "$BUILD_SYSTEM-sources.$ARCHIVE" || true ) if [ -z "$archive" ] then printf '%s\n' "Finding $BUILD_SYSTEM sources archive failed!" >&2 -- cgit v1.2.3-70-g09d2