summaryrefslogtreecommitdiff
path: root/prepare-source
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2006-04-17 18:15:02 +0000
committerWayne Davison <wayned@samba.org>2006-04-17 18:15:02 +0000
commit77b013afb500d94c278c31c9f0c6d2314da54ab7 (patch)
tree60ee23512ccdf105c793b65e3dfac08bbf8f24ec /prepare-source
parent08c0cd8a420024f4c6d68232af94db70d726e7fa (diff)
downloadrsync-77b013afb500d94c278c31c9f0c6d2314da54ab7.tar.gz
Don't use the -C option to make (since it's not portable).
Diffstat (limited to 'prepare-source')
-rwxr-xr-xprepare-source7
1 files changed, 3 insertions, 4 deletions
diff --git a/prepare-source b/prepare-source
index cceecc0f..508c8df8 100755
--- 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