From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Jan Kiszka <jan.kiszka@domain.hid>
Cc: xenomai-core <xenomai@xenomai.org>
Subject: Re: [Xenomai-core] [BUG] prepare-kernel is broken
Date: Mon, 27 Feb 2006 14:59:01 +0100 [thread overview]
Message-ID: <17411.1445.159527.784570@domain.hid> (raw)
In-Reply-To: <4402FA52.3080606@domain.hid>
[-- Attachment #1: message body text --]
[-- Type: text/plain, Size: 375 bytes --]
Jan Kiszka wrote:
> Hi,
>
> the last check-in seems to have messed something up:
>
> .../xenomai/scripts/prepare-kernel.sh: line 61: syntax error near
> unexpected token `fi'
>
> I do not understand what's going on here, so I don't want to hack some
> probably wrong fix for this.
In order to have it work, I had to make the following changes to
revision 610 :
[-- Attachment #2: prepare-kernel.diff --]
[-- Type: text/plain, Size: 1067 bytes --]
Index: prepare-kernel.sh
===================================================================
--- prepare-kernel.sh (revision 610)
+++ prepare-kernel.sh (working copy)
@@ -42,7 +42,7 @@
recursive_opt=""
directorytype_opt=""
if test x$recursive = xr; then
- directorytype_opt="\( -type d -mindepth 1 \) -o"
+ directorytype_opt="( -type d -mindepth 1 ) -o"
else
recursive_opt="-maxdepth 1"
fi
@@ -51,13 +51,13 @@
link_makefiles_opt="-name Makefile -o"
fi
- if test "x$output_patch" = "x"; then
+ if test "x$output_patch" = "x" -a -e $linux_tree/$link_dir; then
cd $linux_tree/$link_dir &&
find . $recursive_opt \( $directorytype_opt \
$link_makefiles_opt -name $config_file -o -name '*.[chS]' \) |
while read f; do
if test ! -e $xenomai_root/$target_dir/$f; then rm -Rf $f; fi
- done; else true; fi &&
+ done
fi
cd $xenomai_root/$target_dir &&
[-- Attachment #3: .signature --]
[-- Type: text/plain, Size: 38 bytes --]
--
Gilles Chanteperdrix.
next prev parent reply other threads:[~2006-02-27 13:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-27 13:10 [Xenomai-core] [BUG] prepare-kernel is broken Jan Kiszka
2006-02-27 13:59 ` Gilles Chanteperdrix [this message]
2006-02-27 14:43 ` Jan Kiszka
2006-02-27 15:00 ` Gilles Chanteperdrix
2006-02-27 15:07 ` Jan Kiszka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=17411.1445.159527.784570@domain.hid \
--to=gilles.chanteperdrix@xenomai.org \
--cc=jan.kiszka@domain.hid \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.