This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
[mknetrel Patch] Change default cygwin_root
- From: "Max Bowsher" <maxb at ukf dot net>
- To: <cygwin-apps at cygwin dot com>
- Date: Sat, 28 Jun 2003 18:19:38 +0100
- Subject: [mknetrel Patch] Change default cygwin_root
Index: bin/mknetrel
===================================================================
RCS file: /home/max/cvsmirror/cygwin-apps-cvs/mknetrel/bin/mknetrel,v
retrieving revision 1.48
diff -u -p -r1.48 mknetrel
--- bin/mknetrel 15 Jun 2003 03:49:19 -0000 1.48
+++ bin/mknetrel 28 Jun 2003 17:14:34 -0000
@@ -56,7 +56,7 @@ read_user_config() {
*) iscygwin() { return 1; } ;;
esac
if iscygwin; then
- : ${cygwin_root=/}
+ : ${cygwin_root=}
: ${build_cxx='g++'}
: ${build_cc='gcc'}
: ${build_ranlib='ranlib'}
Everywhere $cygwin_root is used, it is used with a trailing /, therefore, if
it is set to /, the result is paths like //bin. Setting it to an empty
string avoids double-slashes.
Max.