X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/20926fbd63d5768a55eabd9beab33d2622cd8fa1..0f78b81511be65d8fe21af1e6ac674f9e80ac29d:/prepare-source diff --git a/prepare-source b/prepare-source index 0457179e..508c8df8 100755 --- a/prepare-source +++ b/prepare-source @@ -4,10 +4,9 @@ # "patches" directory in CVS. # # NOTE: if you use a diff from the "patches" directory in a release -# tar as of 2.6.7, this is not needed (but doesn't hurt anything). +# 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