summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2009-07-27 17:19:52 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-06-26 00:30:12 -0600
commit87348edd1b6f1e0f79f76d0c95676214396a5fcd (patch)
tree32a6dff83f6f1f1d75ad1255b0194718dc765aea /configure
parent13ac989be47ce85bd9776c9787c9dc17ddda92f8 (diff)
Further refactoring. Mostly tweaking makefiles. Switched to
autoconf-style variables. This means I had to change every shell script...
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 5 insertions, 2 deletions
diff --git a/configure b/configure
index 3cb0b29..1983a5f 100755
--- a/configure
+++ b/configure
@@ -15,7 +15,7 @@ name='configure' # rvs configureation script
_exec_prefix='$(prefix)'
_bindir='$(exec_prefix)/bin'
_sbindir='$(exec_prefix)/sbin'
- rvsdir='/etc'
+ _rvsdir='/etc'
vars='srcdir SHELL prefix exec_prefix bindir sbindir rvsdir'
@@ -72,7 +72,10 @@ Makefiles=`find "${_srcdir}/" -regextype posix-extended \
for orig in $Makefiles; do
new=${orig/%.orig/}
- new=${new/#$_srcdir/}
+ new=${new/#$_srcdir\//}
+ mkdir -p `dirname "$new"`
sed -f var.sed < "${orig}" > "${new}"
done
+#rm var.sed
+