All of lore.kernel.org
 help / color / mirror / Atom feed
* build: quote variables in release.sh
@ 2008-07-03 18:15 Jan Engelhardt
  2008-07-03 18:26 ` Patrick McHardy
  2008-07-04  7:37 ` Pablo Neira Ayuso
  0 siblings, 2 replies; 7+ messages in thread
From: Jan Engelhardt @ 2008-07-03 18:15 UTC (permalink / raw)
  To: kaber; +Cc: Netfilter Developer Mailing List

commit 68a69d9fbf610899aa95457cdd5c38dcfa447c02
Author: Jan Engelhardt <jengelh@medozas.de>
Date:   Thu Jul 3 19:23:39 2008 +0200

    build: quote variables in release.sh
    
    Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
---
 release.sh |   22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/release.sh b/release.sh
index 5635e4c..f77ef25 100644
--- a/release.sh
+++ b/release.sh
@@ -7,14 +7,14 @@ PREV_VERSION=1.4.1
 TMPDIR=/tmp/ipt-release
 IPTDIR="$TMPDIR/iptables-$VERSION"
 
-PATCH=patch-iptables-$PREV_VERSION-$VERSION.bz2
-TARBALL=iptables-$VERSION.tar.bz2
-CHANGELOG=changes-iptables-$PREV_VERSION-$VERSION.txt
+PATCH="patch-iptables-$PREV_VERSION-$VERSION.bz2";
+TARBALL="iptables-$VERSION.tar.bz2";
+CHANGELOG="changes-iptables-$PREV_VERSION-$VERSION.txt";
 
 mkdir -p "$TMPDIR"
-git shortlog v$PREV_VERSION..v$VERSION > "$TMPDIR/$CHANGELOG"
-git diff v$PREV_VERSION..v$VERSION | bzip2 > "$TMPDIR/$PATCH"
-git archive --prefix=iptables-$VERSION/ v$VERSION | tar -xC "$TMPDIR/"
+git shortlog "v$PREV_VERSION..v$VERSION" > "$TMPDIR/$CHANGELOG"
+git diff "v$PREV_VERSION..v$VERSION" | bzip2 > "$TMPDIR/$PATCH"
+git archive --prefix="iptables-$VERSION/" "v$VERSION" | tar -xC "$TMPDIR/"
 
 cd "$IPTDIR" && {
 	sh autogen.sh
@@ -22,9 +22,9 @@ cd "$IPTDIR" && {
 	cd ..
 }
 
-tar -cjf $TARBALL iptables-$VERSION
-gpg -u "Netfilter Core Team" -sb $TARBALL
-md5sum $TARBALL > $TARBALL.md5sum
+tar -cjf "$TARBALL" "iptables-$VERSION";
+gpg -u "Netfilter Core Team" -sb "$TARBALL";
+md5sum "$TARBALL" >"$TARBALL.md5sum";
 
-gpg -u "Netfilter Core Team" -sb $PATCH
-md5sum $PATCH > $PATCH.md5sum
+gpg -u "Netfilter Core Team" -sb "$PATCH";
+md5sum "$PATCH" >"$PATCH.md5sum";


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: build: quote variables in release.sh
  2008-07-03 18:15 build: quote variables in release.sh Jan Engelhardt
@ 2008-07-03 18:26 ` Patrick McHardy
  2008-07-04  7:37 ` Pablo Neira Ayuso
  1 sibling, 0 replies; 7+ messages in thread
From: Patrick McHardy @ 2008-07-03 18:26 UTC (permalink / raw)
  To: Jan Engelhardt; +Cc: Netfilter Developer Mailing List

Jan Engelhardt wrote:
> commit 68a69d9fbf610899aa95457cdd5c38dcfa447c02
> Author: Jan Engelhardt <jengelh@medozas.de>
> Date:   Thu Jul 3 19:23:39 2008 +0200
> 
>     build: quote variables in release.sh
>     
>     Signed-off-by: Jan Engelhardt <jengelh@medozas.de>

I knew that wouldn't take long :) I actually didn't qoute all
those variables on purpose since neither git versions, nor
iptables versions, nor the filenames need this, but anyway,
applied.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: build: quote variables in release.sh
  2008-07-03 18:15 build: quote variables in release.sh Jan Engelhardt
  2008-07-03 18:26 ` Patrick McHardy
@ 2008-07-04  7:37 ` Pablo Neira Ayuso
  2008-07-04  7:39   ` Pablo Neira Ayuso
  1 sibling, 1 reply; 7+ messages in thread
From: Pablo Neira Ayuso @ 2008-07-04  7:37 UTC (permalink / raw)
  To: Jan Engelhardt; +Cc: kaber, Netfilter Developer Mailing List

Jan Engelhardt wrote:
> commit 68a69d9fbf610899aa95457cdd5c38dcfa447c02
> Author: Jan Engelhardt <jengelh@medozas.de>
> Date:   Thu Jul 3 19:23:39 2008 +0200
> 
>     build: quote variables in release.sh

Actually, instead of fixing release.sh, we should have the `make
distcheck' magic working. Currently it is broken.

-- 
"Los honestos son inadaptados sociales" -- Les Luthiers

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: build: quote variables in release.sh
  2008-07-04  7:37 ` Pablo Neira Ayuso
@ 2008-07-04  7:39   ` Pablo Neira Ayuso
  2008-07-04 10:27     ` Jan Engelhardt
  0 siblings, 1 reply; 7+ messages in thread
From: Pablo Neira Ayuso @ 2008-07-04  7:39 UTC (permalink / raw)
  To: Jan Engelhardt; +Cc: kaber, Netfilter Developer Mailing List

Pablo Neira Ayuso wrote:
> Jan Engelhardt wrote:
>> commit 68a69d9fbf610899aa95457cdd5c38dcfa447c02
>> Author: Jan Engelhardt <jengelh@medozas.de>
>> Date:   Thu Jul 3 19:23:39 2008 +0200
>>
>>     build: quote variables in release.sh
> 
> Actually, instead of fixing release.sh, we should have the `make
> distcheck' magic working. Currently it is broken.

I mean the magic to build the tarball, of course.

-- 
"Los honestos son inadaptados sociales" -- Les Luthiers

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: build: quote variables in release.sh
  2008-07-04  7:39   ` Pablo Neira Ayuso
@ 2008-07-04 10:27     ` Jan Engelhardt
  2008-07-04 14:13       ` Pablo Neira Ayuso
  0 siblings, 1 reply; 7+ messages in thread
From: Jan Engelhardt @ 2008-07-04 10:27 UTC (permalink / raw)
  To: Pablo Neira Ayuso; +Cc: kaber, Netfilter Developer Mailing List


On Friday 2008-07-04 09:39, Pablo Neira Ayuso wrote:

>Pablo Neira Ayuso wrote:
>> Jan Engelhardt wrote:
>>> commit 68a69d9fbf610899aa95457cdd5c38dcfa447c02
>>> Author: Jan Engelhardt <jengelh@medozas.de>
>>> Date:   Thu Jul 3 19:23:39 2008 +0200
>>>
>>>     build: quote variables in release.sh
>> 
>> Actually, instead of fixing release.sh, we should have the `make
>> distcheck' magic working. Currently it is broken.
>
>I mean the magic to build the tarball, of course.

make tarball

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: build: quote variables in release.sh
  2008-07-04 10:27     ` Jan Engelhardt
@ 2008-07-04 14:13       ` Pablo Neira Ayuso
  2008-07-05 20:36         ` Jan Engelhardt
  0 siblings, 1 reply; 7+ messages in thread
From: Pablo Neira Ayuso @ 2008-07-04 14:13 UTC (permalink / raw)
  To: Jan Engelhardt; +Cc: kaber, Netfilter Developer Mailing List

Jan Engelhardt wrote:
> On Friday 2008-07-04 09:39, Pablo Neira Ayuso wrote:
> 
>> Pablo Neira Ayuso wrote:
>>> Jan Engelhardt wrote:
>>>> commit 68a69d9fbf610899aa95457cdd5c38dcfa447c02
>>>> Author: Jan Engelhardt <jengelh@medozas.de>
>>>> Date:   Thu Jul 3 19:23:39 2008 +0200
>>>>
>>>>     build: quote variables in release.sh
>>> Actually, instead of fixing release.sh, we should have the `make
>>> distcheck' magic working. Currently it is broken.
>> I mean the magic to build the tarball, of course.
> 
> make tarball

That works but it is doing far less checkings that `make distcheck' in
other packages.

-- 
"Los honestos son inadaptados sociales" -- Les Luthiers

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: build: quote variables in release.sh
  2008-07-04 14:13       ` Pablo Neira Ayuso
@ 2008-07-05 20:36         ` Jan Engelhardt
  0 siblings, 0 replies; 7+ messages in thread
From: Jan Engelhardt @ 2008-07-05 20:36 UTC (permalink / raw)
  To: Pablo Neira Ayuso; +Cc: kaber, Netfilter Developer Mailing List


On Friday 2008-07-04 16:13, Pablo Neira Ayuso wrote:
>>>>>     build: quote variables in release.sh
>>>> Actually, instead of fixing release.sh, we should have the `make
>>>> distcheck' magic working. Currently it is broken.
>>> I mean the magic to build the tarball, of course.
>> 
>> make tarball
>
>That works but it is doing far less checkings that `make distcheck' in
>other packages.

What checks do we need?

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-07-05 20:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-03 18:15 build: quote variables in release.sh Jan Engelhardt
2008-07-03 18:26 ` Patrick McHardy
2008-07-04  7:37 ` Pablo Neira Ayuso
2008-07-04  7:39   ` Pablo Neira Ayuso
2008-07-04 10:27     ` Jan Engelhardt
2008-07-04 14:13       ` Pablo Neira Ayuso
2008-07-05 20:36         ` Jan Engelhardt

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.