Skip to content

Commit 6698992

Browse files
Jimmy Tangapenwarr
authored andcommitted
Use the new arguments from redo v0.10.
(apenwarr: also updates to the matching, latest minimal/do)
1 parent e2c6820 commit 6698992

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
lines changed

default.8.do

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
exec >&2
22
if pandoc </dev/null 2>/dev/null; then
3-
pandoc -s -r markdown -w man -o $3 $1.md
3+
pandoc -s -r markdown -w man -o $3 $2.md
44
else
55
echo "Warning: pandoc not installed; can't generate manpages."
66
redo-always

do

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ _do()
121121
fi
122122
[ ! -e "$DO_BUILT" ] || [ ! -d "$(dirname "$target")" ] ||
123123
: >>"$target.did"
124-
( _run_dofile "$base" "$ext" "$tmp.tmp" )
124+
( _run_dofile "$target" "$base" "$tmp.tmp" )
125125
rv=$?
126126
if [ $rv != 0 ]; then
127127
printf "do: %s%s\n" "$DO_DEPTH" \

ui-macos/default.app.do

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ redo-ifchange sources.list
33
redo-ifchange Info.plist bits/runpython \
44
$(while read name newname; do echo "$name"; done <sources.list)
55

6-
rm -rf "$1.app"
7-
mkdir "$1.app" "$1.app/Contents"
8-
cd "$1.app/Contents"
6+
rm -rf "$2.app"
7+
mkdir "$2.app" "$2.app/Contents"
8+
cd "$2.app/Contents"
99

1010
cp "$TOP/Info.plist" .
1111

@@ -18,11 +18,11 @@ cd "$TOP"
1818
while read name newname; do
1919
[ -z "$name" ] && continue
2020
: "${newname:=$name}"
21-
outname=$1.app/Contents/Resources/$newname
21+
outname=$2.app/Contents/Resources/$newname
2222
outdir=$(dirname "$outname")
2323
[ -d "$outdir" ] || mkdir "$outdir"
2424
cp "${name-$newname}" "$outname"
2525
done <sources.list
2626

27-
cd "$1.app"
27+
cd "$2.app"
2828
redo-ifchange $(find . -type f)

ui-macos/default.app.tar.gz.do

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
exec >&2
22
IFS="
33
"
4-
redo-ifchange $1.app
5-
tar -czf $3 $1.app/
4+
redo-ifchange $2.app
5+
tar -czf $3 $2.app/

ui-macos/default.app.zip.do

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
exec >&2
22
IFS="
33
"
4-
redo-ifchange $1.app
5-
zip -q -r $3 $1.app/
4+
redo-ifchange $2.app
5+
zip -q -r $3 $2.app/

ui-macos/default.nib.do

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
redo-ifchange $1.xib
2-
ibtool --compile $3 $1.xib
1+
redo-ifchange $2.xib
2+
ibtool --compile $3 $2.xib

0 commit comments

Comments
 (0)