aboutsummaryrefslogtreecommitdiff
path: root/projects/libreboot-sources
diff options
context:
space:
mode:
authorAndrew Robbins <contact@andrewrobbins.info>2017-06-25 18:00:48 -0400
committerAndrew Robbins <contact@andrewrobbins.info>2017-06-25 18:45:34 -0400
commit00966661823723ea929ddf1f913d8ab0c2fc4796 (patch)
treeb3595320f129404ef8c593c223abed7e82643895 /projects/libreboot-sources
parent0accfe9b22fc8d79461101c33f876767da72d3ef (diff)
downloadlibrebootfr-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-xprojects/libreboot-sources/install/libreboot-sources4
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