diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -2,17 +2,17 @@ name='configure' # Luke's configureation script #version='1.0' # Copyright (C) 2009 Luke Shumaker -# +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as # published by the Free Software Foundation; either version 2 of the # License, or (at your option) any later version. -# +# # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. -# +# # You should have received a copy of the GNU General Public License # along with this program; see the file COPYING. # If not, see <http://www.gnu.org/licenses>. @@ -70,14 +70,14 @@ echo '#!/bin/sed -f' > var.sed for var in $vars; do var1="_$var" val=${!var1} - + # GNU bash optimized version - var=${var//:/\\:} + var=${var//:/\\:} val=${val//:/\\:} # POSIX version #var=`echo "$var" | sed 's@:@\\:@g'` #val=`echo "$val" | sed 's@:@\\:@g'` - + echo "s:@$var@:$val:g" >> var.sed done |