Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08c0cd8
)
Don't use the -C option to make (since it's not portable).
author
Wayne Davison
<wayned@samba.org>
Mon, 17 Apr 2006 18:15:02 +0000
(18:15 +0000)
committer
Wayne Davison
<wayned@samba.org>
Mon, 17 Apr 2006 18:15:02 +0000
(18:15 +0000)
prepare-source
patch
|
blob
|
blame
|
history
diff --git
a/prepare-source
b/prepare-source
index
cceecc0
..
508c8df
100755
(executable)
--- a/
prepare-source
+++ b/
prepare-source
@@
-6,8
+6,7
@@
# NOTE: if you use a diff from the "patches" directory in a release
# tar, this is not needed (but doesn't hurt anything).
dir=`dirname $0`
-if test x"$dir" = x -o x"$dir" = x.; then
- make -f prepare-source.mak
-else
- make -C "$dir" -f prepare-source.mak
+if test x"$dir" != x -o x"$dir" != x.; then
+ cd "$dir"
fi
+make -f prepare-source.mak