summaryrefslogtreecommitdiffstats
path: root/resources/scripts/helpers/build/release
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-06-07 01:49:50 (EDT)
committer Francis Rowe <info@gluglug.org.uk>2015-06-07 01:51:45 (EDT)
commit0d22182921cfd7d0c60bb80b1036c962dbad0e38 (patch)
tree28565700d1d338a4912c13594f2162fff08a7df2 /resources/scripts/helpers/build/release
parent20b967f3f5e3cf7dd0bcab91d68ba2dfdf9daa1b (diff)
downloadlibreboot-0d22182921cfd7d0c60bb80b1036c962dbad0e38.zip
libreboot-0d22182921cfd7d0c60bb80b1036c962dbad0e38.tar.gz
libreboot-0d22182921cfd7d0c60bb80b1036c962dbad0e38.tar.bz2
build/release/crossgcc: move archive directly to release/
Diffstat (limited to 'resources/scripts/helpers/build/release')
-rwxr-xr-xresources/scripts/helpers/build/release/crossgcc10
1 files changed, 4 insertions, 6 deletions
diff --git a/resources/scripts/helpers/build/release/crossgcc b/resources/scripts/helpers/build/release/crossgcc
index 182c353..fb37dbd 100755
--- a/resources/scripts/helpers/build/release/crossgcc
+++ b/resources/scripts/helpers/build/release/crossgcc
@@ -4,6 +4,7 @@
# helper script: generate the coreboot crossgcc archives
#
# Copyright (C) 2015 Patrick "P. J." McDermott <pj@pehjota.net>
+# Copyright (C) 2015 Francis Rowe <info@gluglug.org.uk>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -28,13 +29,10 @@ distdir='crossgcc'
printf 'Deleting old coreboot crossgcc archives\n'
rm -Rf "release/${distdir}/"
-rm -Rf "${distdir}/"
-printf 'Copying coreboot crossgcc archives to %s/\n' "${distdir}"
-cp -R coreboot/util/crossgcc/tarballs/ "${distdir}/"
-
-# Move the archives to the release/ directory.
[ -d release/ ] || mkdir release/
-mv "${distdir}" release/
+
+printf 'Copying coreboot crossgcc archives to %s/\n' "release/${distdir}"
+cp -R coreboot/util/crossgcc/tarballs/ "release/${distdir}/"
printf 'coreboot crossgcc archives are stored in release/%s\n' "${distdir}"