File tree Expand file tree Collapse file tree 6 files changed +13
-13
lines changed Expand file tree Collapse file tree 6 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 1
1
exec > & 2
2
2
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
4
4
else
5
5
echo " Warning: pandoc not installed; can't generate manpages."
6
6
redo- always
Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ _do()
121
121
fi
122
122
[ ! -e " $DO_BUILT " ] || [ ! -d " $( dirname " $target " ) " ] ||
123
123
: >> " $target .did"
124
- ( _run_dofile " $base " " $ext " " $tmp .tmp" )
124
+ ( _run_dofile " $target " " $base " " $tmp .tmp" )
125
125
rv=$?
126
126
if [ $rv != 0 ]; then
127
127
printf " do: %s%s\n" " $DO_DEPTH " \
Original file line number Diff line number Diff line change @@ -3,9 +3,9 @@ redo-ifchange sources.list
3
3
redo- ifchange Info.plist bits/runpython \
4
4
$(while read name newname; do echo " $name" ; done < sources.list)
5
5
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"
9
9
10
10
cp " $TOP/Info.plist" .
11
11
@@ -18,11 +18,11 @@ cd "$TOP"
18
18
while read name newname; do
19
19
[ - z " $name" ] && continue
20
20
: " ${newname:=$name}"
21
- outname= $1 .app/Contents/Resources/$newname
21
+ outname= $2 .app/Contents/Resources/$newname
22
22
outdir= $(dirname " $outname" )
23
23
[ - d " $outdir" ] || mkdir " $outdir"
24
24
cp " ${name-$newname}" " $outname"
25
25
done < sources.list
26
26
27
- cd " $1 .app"
27
+ cd " $2 .app"
28
28
redo- ifchange $(find . - type f)
Original file line number Diff line number Diff line change 1
1
exec > & 2
2
2
IFS= "
3
3
"
4
- redo- ifchange $1 .app
5
- tar - czf $3 $1 .app/
4
+ redo- ifchange $2 .app
5
+ tar - czf $3 $2 .app/
Original file line number Diff line number Diff line change 1
1
exec > & 2
2
2
IFS= "
3
3
"
4
- redo- ifchange $1 .app
5
- zip - q - r $3 $1 .app/
4
+ redo- ifchange $2 .app
5
+ zip - q - r $3 $2 .app/
Original file line number Diff line number Diff line change 1
- redo- ifchange $1 .xib
2
- ibtool -- compile $3 $1 .xib
1
+ redo- ifchange $2 .xib
2
+ ibtool -- compile $3 $2 .xib
You can’t perform that action at this time.
0 commit comments