diff options
author | Andrew Robbins <contact@andrewrobbins.info> | 2017-06-25 18:00:48 -0400 |
---|---|---|
committer | Andrew Robbins <contact@andrewrobbins.info> | 2017-06-25 18:45:34 -0400 |
commit | 00966661823723ea929ddf1f913d8ab0c2fc4796 (patch) | |
tree | b3595320f129404ef8c593c223abed7e82643895 /projects/libreboot-sources | |
parent | 0accfe9b22fc8d79461101c33f876767da72d3ef (diff) | |
download | librebootfr-00966661823723ea929ddf1f913d8ab0c2fc4796.tar.gz librebootfr-00966661823723ea929ddf1f913d8ab0c2fc4796.zip |
Vars TAR_XZ,ASC,SHA256SUM renamed for generality.
Will help facilitate sane code when handling: archive formats,
checksum file extensions, signature formats.
Diffstat (limited to 'projects/libreboot-sources')
-rwxr-xr-x | projects/libreboot-sources/install/libreboot-sources | 4 |
1 files changed, 2 insertions, 2 deletions
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 |