summaryrefslogtreecommitdiffstats
path: root/build-release
diff options
context:
space:
mode:
Diffstat (limited to 'build-release')
-rwxr-xr-xbuild-release7
1 files changed, 5 insertions, 2 deletions
diff --git a/build-release b/build-release
index 27206fb..0364723 100755
--- a/build-release
+++ b/build-release
@@ -46,7 +46,7 @@ rm -f libreboot_src.tar.xz
rm -f libreboot_bin.tar.xz
# Get manifest which will be used to copy everything
-ls > releasefilelist
+find -maxdepth 1 > releasefilelist
# ### Prepare libreboot_src archive ready for release
# ----------------------------------------------------------------------------------------------------------------------------
@@ -57,7 +57,10 @@ mkdir libreboot_src
for resource in $(cat releasefilelist)
do
- cp -r $resource libreboot_src
+ if [ "$resource" != "." ]
+ then
+ cp -r $resource libreboot_src
+ fi
done
cd libreboot_src/