Skip to content

Commit

Permalink
don't overwrite yourself on update, overwrite the subdir's buildall.sh
Browse files Browse the repository at this point in the history
on update instead.
  • Loading branch information
joncampbell123 committed Sep 8, 2017
1 parent c5a97ea commit 67de840
Show file tree
Hide file tree
Showing 197 changed files with 788 additions and 394 deletions.
6 changes: 4 additions & 2 deletions asminc/buildall.sh
Expand Up @@ -7,9 +7,11 @@
# but keeps the CR LF DOS endings for the DOS batch files.

for i in *; do if [ -d "$i" ]; then
(cd $i && (
cp -v -u ../buildall.sh buildall.sh || exit 1
if [ -x "$i/buildall.sh" ]; then
cp -v -u buildall.sh "$i/buildall.sh" || exit 1
fi

(cd $i && (
if [ -x buildall.sh ]; then
./buildall.sh $* || exit 1
fi
Expand Down
6 changes: 4 additions & 2 deletions bootsect/buildall.sh
Expand Up @@ -7,9 +7,11 @@
# but keeps the CR LF DOS endings for the DOS batch files.

for i in *; do if [ -d "$i" ]; then
(cd $i && (
cp -v -u ../buildall.sh buildall.sh || exit 1
if [ -x "$i/buildall.sh" ]; then
cp -v -u buildall.sh "$i/buildall.sh" || exit 1
fi

(cd $i && (
if [ -x buildall.sh ]; then
./buildall.sh $* || exit 1
fi
Expand Down
6 changes: 4 additions & 2 deletions bootsect/i13geom/buildall.sh
Expand Up @@ -7,9 +7,11 @@
# but keeps the CR LF DOS endings for the DOS batch files.

for i in *; do if [ -d "$i" ]; then
(cd $i && (
cp -v -u ../buildall.sh buildall.sh || exit 1
if [ -x "$i/buildall.sh" ]; then
cp -v -u buildall.sh "$i/buildall.sh" || exit 1
fi

(cd $i && (
if [ -x buildall.sh ]; then
./buildall.sh $* || exit 1
fi
Expand Down
6 changes: 4 additions & 2 deletions build-logs/buildall.sh
Expand Up @@ -7,9 +7,11 @@
# but keeps the CR LF DOS endings for the DOS batch files.

for i in *; do if [ -d "$i" ]; then
(cd $i && (
cp -v -u ../buildall.sh buildall.sh || exit 1
if [ -x "$i/buildall.sh" ]; then
cp -v -u buildall.sh "$i/buildall.sh" || exit 1
fi

(cd $i && (
if [ -x buildall.sh ]; then
./buildall.sh $* || exit 1
fi
Expand Down
6 changes: 4 additions & 2 deletions buildall.sh
Expand Up @@ -7,9 +7,11 @@
# but keeps the CR LF DOS endings for the DOS batch files.

for i in *; do if [ -d "$i" ]; then
(cd $i && (
cp -v -u ../buildall.sh buildall.sh || exit 1
if [ -x "$i/buildall.sh" ]; then
cp -v -u buildall.sh "$i/buildall.sh" || exit 1
fi

(cd $i && (
if [ -x buildall.sh ]; then
./buildall.sh $* || exit 1
fi
Expand Down
6 changes: 4 additions & 2 deletions doc/buildall.sh
Expand Up @@ -7,9 +7,11 @@
# but keeps the CR LF DOS endings for the DOS batch files.

for i in *; do if [ -d "$i" ]; then
(cd $i && (
cp -v -u ../buildall.sh buildall.sh || exit 1
if [ -x "$i/buildall.sh" ]; then
cp -v -u buildall.sh "$i/buildall.sh" || exit 1
fi

(cd $i && (
if [ -x buildall.sh ]; then
./buildall.sh $* || exit 1
fi
Expand Down
6 changes: 4 additions & 2 deletions doc/html/buildall.sh
Expand Up @@ -7,9 +7,11 @@
# but keeps the CR LF DOS endings for the DOS batch files.

for i in *; do if [ -d "$i" ]; then
(cd $i && (
cp -v -u ../buildall.sh buildall.sh || exit 1
if [ -x "$i/buildall.sh" ]; then
cp -v -u buildall.sh "$i/buildall.sh" || exit 1
fi

(cd $i && (
if [ -x buildall.sh ]; then
./buildall.sh $* || exit 1
fi
Expand Down
6 changes: 4 additions & 2 deletions doc/html/search/buildall.sh
Expand Up @@ -7,9 +7,11 @@
# but keeps the CR LF DOS endings for the DOS batch files.

for i in *; do if [ -d "$i" ]; then
(cd $i && (
cp -v -u ../buildall.sh buildall.sh || exit 1
if [ -x "$i/buildall.sh" ]; then
cp -v -u buildall.sh "$i/buildall.sh" || exit 1
fi

(cd $i && (
if [ -x buildall.sh ]; then
./buildall.sh $* || exit 1
fi
Expand Down
6 changes: 4 additions & 2 deletions doc/latex/buildall.sh
Expand Up @@ -7,9 +7,11 @@
# but keeps the CR LF DOS endings for the DOS batch files.

for i in *; do if [ -d "$i" ]; then
(cd $i && (
cp -v -u ../buildall.sh buildall.sh || exit 1
if [ -x "$i/buildall.sh" ]; then
cp -v -u buildall.sh "$i/buildall.sh" || exit 1
fi

(cd $i && (
if [ -x buildall.sh ]; then
./buildall.sh $* || exit 1
fi
Expand Down
6 changes: 4 additions & 2 deletions dosdrv/asmhello/buildall.sh
Expand Up @@ -7,9 +7,11 @@
# but keeps the CR LF DOS endings for the DOS batch files.

for i in *; do if [ -d "$i" ]; then
(cd $i && (
cp -v -u ../buildall.sh buildall.sh || exit 1
if [ -x "$i/buildall.sh" ]; then
cp -v -u buildall.sh "$i/buildall.sh" || exit 1
fi

(cd $i && (
if [ -x buildall.sh ]; then
./buildall.sh $* || exit 1
fi
Expand Down
6 changes: 4 additions & 2 deletions dosdrv/buildall.sh
Expand Up @@ -7,9 +7,11 @@
# but keeps the CR LF DOS endings for the DOS batch files.

for i in *; do if [ -d "$i" ]; then
(cd $i && (
cp -v -u ../buildall.sh buildall.sh || exit 1
if [ -x "$i/buildall.sh" ]; then
cp -v -u buildall.sh "$i/buildall.sh" || exit 1
fi

(cd $i && (
if [ -x buildall.sh ]; then
./buildall.sh $* || exit 1
fi
Expand Down
6 changes: 4 additions & 2 deletions dosdrv/hello/buildall.sh
Expand Up @@ -7,9 +7,11 @@
# but keeps the CR LF DOS endings for the DOS batch files.

for i in *; do if [ -d "$i" ]; then
(cd $i && (
cp -v -u ../buildall.sh buildall.sh || exit 1
if [ -x "$i/buildall.sh" ]; then
cp -v -u buildall.sh "$i/buildall.sh" || exit 1
fi

(cd $i && (
if [ -x buildall.sh ]; then
./buildall.sh $* || exit 1
fi
Expand Down
6 changes: 4 additions & 2 deletions dosdrv/hellof/buildall.sh
Expand Up @@ -7,9 +7,11 @@
# but keeps the CR LF DOS endings for the DOS batch files.

for i in *; do if [ -d "$i" ]; then
(cd $i && (
cp -v -u ../buildall.sh buildall.sh || exit 1
if [ -x "$i/buildall.sh" ]; then
cp -v -u buildall.sh "$i/buildall.sh" || exit 1
fi

(cd $i && (
if [ -x buildall.sh ]; then
./buildall.sh $* || exit 1
fi
Expand Down
6 changes: 4 additions & 2 deletions ext/buildall.sh
Expand Up @@ -7,9 +7,11 @@
# but keeps the CR LF DOS endings for the DOS batch files.

for i in *; do if [ -d "$i" ]; then
(cd $i && (
cp -v -u ../buildall.sh buildall.sh || exit 1
if [ -x "$i/buildall.sh" ]; then
cp -v -u buildall.sh "$i/buildall.sh" || exit 1
fi

(cd $i && (
if [ -x buildall.sh ]; then
./buildall.sh $* || exit 1
fi
Expand Down
6 changes: 4 additions & 2 deletions ext/bzip2/buildall.sh
Expand Up @@ -7,9 +7,11 @@
# but keeps the CR LF DOS endings for the DOS batch files.

for i in *; do if [ -d "$i" ]; then
(cd $i && (
cp -v -u ../buildall.sh buildall.sh || exit 1
if [ -x "$i/buildall.sh" ]; then
cp -v -u buildall.sh "$i/buildall.sh" || exit 1
fi

(cd $i && (
if [ -x buildall.sh ]; then
./buildall.sh $* || exit 1
fi
Expand Down
6 changes: 4 additions & 2 deletions ext/faad/buildall.sh
Expand Up @@ -7,9 +7,11 @@
# but keeps the CR LF DOS endings for the DOS batch files.

for i in *; do if [ -d "$i" ]; then
(cd $i && (
cp -v -u ../buildall.sh buildall.sh || exit 1
if [ -x "$i/buildall.sh" ]; then
cp -v -u buildall.sh "$i/buildall.sh" || exit 1
fi

(cd $i && (
if [ -x buildall.sh ]; then
./buildall.sh $* || exit 1
fi
Expand Down
6 changes: 4 additions & 2 deletions ext/faad/codebook/buildall.sh
Expand Up @@ -7,9 +7,11 @@
# but keeps the CR LF DOS endings for the DOS batch files.

for i in *; do if [ -d "$i" ]; then
(cd $i && (
cp -v -u ../buildall.sh buildall.sh || exit 1
if [ -x "$i/buildall.sh" ]; then
cp -v -u buildall.sh "$i/buildall.sh" || exit 1
fi

(cd $i && (
if [ -x buildall.sh ]; then
./buildall.sh $* || exit 1
fi
Expand Down
6 changes: 4 additions & 2 deletions ext/flac/buildall.sh
Expand Up @@ -7,9 +7,11 @@
# but keeps the CR LF DOS endings for the DOS batch files.

for i in *; do if [ -d "$i" ]; then
(cd $i && (
cp -v -u ../buildall.sh buildall.sh || exit 1
if [ -x "$i/buildall.sh" ]; then
cp -v -u buildall.sh "$i/buildall.sh" || exit 1
fi

(cd $i && (
if [ -x buildall.sh ]; then
./buildall.sh $* || exit 1
fi
Expand Down
6 changes: 4 additions & 2 deletions ext/flac/private/buildall.sh
Expand Up @@ -7,9 +7,11 @@
# but keeps the CR LF DOS endings for the DOS batch files.

for i in *; do if [ -d "$i" ]; then
(cd $i && (
cp -v -u ../buildall.sh buildall.sh || exit 1
if [ -x "$i/buildall.sh" ]; then
cp -v -u buildall.sh "$i/buildall.sh" || exit 1
fi

(cd $i && (
if [ -x buildall.sh ]; then
./buildall.sh $* || exit 1
fi
Expand Down
6 changes: 4 additions & 2 deletions ext/flac/protected/buildall.sh
Expand Up @@ -7,9 +7,11 @@
# but keeps the CR LF DOS endings for the DOS batch files.

for i in *; do if [ -d "$i" ]; then
(cd $i && (
cp -v -u ../buildall.sh buildall.sh || exit 1
if [ -x "$i/buildall.sh" ]; then
cp -v -u buildall.sh "$i/buildall.sh" || exit 1
fi

(cd $i && (
if [ -x buildall.sh ]; then
./buildall.sh $* || exit 1
fi
Expand Down
6 changes: 4 additions & 2 deletions ext/flac/share/buildall.sh
Expand Up @@ -7,9 +7,11 @@
# but keeps the CR LF DOS endings for the DOS batch files.

for i in *; do if [ -d "$i" ]; then
(cd $i && (
cp -v -u ../buildall.sh buildall.sh || exit 1
if [ -x "$i/buildall.sh" ]; then
cp -v -u buildall.sh "$i/buildall.sh" || exit 1
fi

(cd $i && (
if [ -x buildall.sh ]; then
./buildall.sh $* || exit 1
fi
Expand Down
6 changes: 4 additions & 2 deletions ext/flac/share/grabbag/buildall.sh
Expand Up @@ -7,9 +7,11 @@
# but keeps the CR LF DOS endings for the DOS batch files.

for i in *; do if [ -d "$i" ]; then
(cd $i && (
cp -v -u ../buildall.sh buildall.sh || exit 1
if [ -x "$i/buildall.sh" ]; then
cp -v -u buildall.sh "$i/buildall.sh" || exit 1
fi

(cd $i && (
if [ -x buildall.sh ]; then
./buildall.sh $* || exit 1
fi
Expand Down
6 changes: 4 additions & 2 deletions ext/jpeg/buildall.sh
Expand Up @@ -7,9 +7,11 @@
# but keeps the CR LF DOS endings for the DOS batch files.

for i in *; do if [ -d "$i" ]; then
(cd $i && (
cp -v -u ../buildall.sh buildall.sh || exit 1
if [ -x "$i/buildall.sh" ]; then
cp -v -u buildall.sh "$i/buildall.sh" || exit 1
fi

(cd $i && (
if [ -x buildall.sh ]; then
./buildall.sh $* || exit 1
fi
Expand Down
6 changes: 4 additions & 2 deletions ext/lame/buildall.sh
Expand Up @@ -7,9 +7,11 @@
# but keeps the CR LF DOS endings for the DOS batch files.

for i in *; do if [ -d "$i" ]; then
(cd $i && (
cp -v -u ../buildall.sh buildall.sh || exit 1
if [ -x "$i/buildall.sh" ]; then
cp -v -u buildall.sh "$i/buildall.sh" || exit 1
fi

(cd $i && (
if [ -x buildall.sh ]; then
./buildall.sh $* || exit 1
fi
Expand Down
6 changes: 4 additions & 2 deletions ext/lame/vector/buildall.sh
Expand Up @@ -7,9 +7,11 @@
# but keeps the CR LF DOS endings for the DOS batch files.

for i in *; do if [ -d "$i" ]; then
(cd $i && (
cp -v -u ../buildall.sh buildall.sh || exit 1
if [ -x "$i/buildall.sh" ]; then
cp -v -u buildall.sh "$i/buildall.sh" || exit 1
fi

(cd $i && (
if [ -x buildall.sh ]; then
./buildall.sh $* || exit 1
fi
Expand Down
6 changes: 4 additions & 2 deletions ext/libiconv/build-aux/buildall.sh
Expand Up @@ -7,9 +7,11 @@
# but keeps the CR LF DOS endings for the DOS batch files.

for i in *; do if [ -d "$i" ]; then
(cd $i && (
cp -v -u ../buildall.sh buildall.sh || exit 1
if [ -x "$i/buildall.sh" ]; then
cp -v -u buildall.sh "$i/buildall.sh" || exit 1
fi

(cd $i && (
if [ -x buildall.sh ]; then
./buildall.sh $* || exit 1
fi
Expand Down
6 changes: 4 additions & 2 deletions ext/libiconv/build-aux/snippet/buildall.sh
Expand Up @@ -7,9 +7,11 @@
# but keeps the CR LF DOS endings for the DOS batch files.

for i in *; do if [ -d "$i" ]; then
(cd $i && (
cp -v -u ../buildall.sh buildall.sh || exit 1
if [ -x "$i/buildall.sh" ]; then
cp -v -u buildall.sh "$i/buildall.sh" || exit 1
fi

(cd $i && (
if [ -x buildall.sh ]; then
./buildall.sh $* || exit 1
fi
Expand Down
6 changes: 4 additions & 2 deletions ext/libiconv/buildall.sh
Expand Up @@ -7,9 +7,11 @@
# but keeps the CR LF DOS endings for the DOS batch files.

for i in *; do if [ -d "$i" ]; then
(cd $i && (
cp -v -u ../buildall.sh buildall.sh || exit 1
if [ -x "$i/buildall.sh" ]; then
cp -v -u buildall.sh "$i/buildall.sh" || exit 1
fi

(cd $i && (
if [ -x buildall.sh ]; then
./buildall.sh $* || exit 1
fi
Expand Down

0 comments on commit 67de840

Please sign in to comment.