[rtems-release commit] Fix bare source packaging.

Chris Johns chrisj at rtems.org
Mon Oct 31 18:04:53 UTC 2016


Module:    rtems-release
Branch:    master
Commit:    b68af74ef728e48003671ccbb6b10532ef57dbea
Changeset: http://git.rtems.org/rtems-release/commit/?id=b68af74ef728e48003671ccbb6b10532ef57dbea

Author:    Chris Johns <chrisj at rtems.org>
Date:      Mon Oct 31 18:03:54 2016 +0000

Fix bare source packaging.

---

 rtems-release-sources | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/rtems-release-sources b/rtems-release-sources
index 74a8232..de714ef 100755
--- a/rtems-release-sources
+++ b/rtems-release-sources
@@ -118,7 +118,7 @@ cd ${prefix}
                                    --without-error-report \
                                    --without-release-url \
                                    ${rtems_pkgs}
-  #
+
   # If git, svn or cvs exist the release fails.
   #
   if [ -d sources/git -o -d sources/svn -o -d sources/cvs ]; then
@@ -136,9 +136,10 @@ cd ${prefix}
  #
  # Fetch the source for 3rd party packages tools.
  #
- if [ -n "${bare_pkgs}" -a ${bare_pkgs} != None ]; then
+ if [ -n "${bare_pkgs}" -a "${bare_pkgs}" != "None" ]; then
   cd bare
-   export_source=${export_source} bare
+   export_source="${export_source} bare"
+  mkdir sources patches
    echo "../source-builder/sb-set-builder --dry-run --with-download " \
         "--without-error-report --without-release-url " \
         "${bare_pkgs}"




More information about the vc mailing list