summaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
authorChris Lamb <lamby@debian.org>2008-09-22 20:32:32 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:42 +0100
commit44fefdf1d3d7dfb2a4df2fa830569d38b0d1449c (patch)
tree8cbfa858a290a1810c2d473452fceca4fbc82ad2 /helpers
parent8d9860284d666bbacf13e28f8e3bc3c18cf0e42a (diff)
downloadvyos-live-build-44fefdf1d3d7dfb2a4df2fa830569d38b0d1449c.tar.gz
vyos-live-build-44fefdf1d3d7dfb2a4df2fa830569d38b0d1449c.zip
Additionally save the 'scripts/' subdirectory if it contains files when building source images.
Diffstat (limited to 'helpers')
-rwxr-xr-xhelpers/lh_source_debian-live5
1 files changed, 5 insertions, 0 deletions
diff --git a/helpers/lh_source_debian-live b/helpers/lh_source_debian-live
index 36638f6bd..488f913c9 100755
--- a/helpers/lh_source_debian-live
+++ b/helpers/lh_source_debian-live
@@ -57,6 +57,11 @@ fi
mkdir -p source/debian-live
cp -a config source/debian-live
+if Find_files scripts/*
+then
+ cp -a scripts source/debian-live
+fi
+
# Create tarball
cd source