Skip to content
Snippets Groups Projects
Commit 1b105650 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Changed "localdir" handling somewhat.

Rev: src/run_autoconfig:1.24
parent 8cf4bc03
No related branches found
No related tags found
No related merge requests found
#!/bin/sh #!/bin/sh
# #
# $Id: run_autoconfig,v 1.23 1998/09/20 08:30:32 hubbe Exp $ # $Id: run_autoconfig,v 1.24 1998/09/24 17:34:03 grubba Exp $
# #
# Bootstrap script # Bootstrap script
...@@ -11,11 +11,16 @@ if test "x$1" = "x" ; then ...@@ -11,11 +11,16 @@ if test "x$1" = "x" ; then
if test "x$base" != "x" ; then if test "x$base" != "x" ; then
cd "$base" cd "$base"
fi fi
localdir=`pwd`
else else
cd "$1" cd "$1"
fi
localdir=`pwd` localdir=`echo $0 | sed 's@[^/]*$@@g'`
if test "x$localdir" = "x"; then
localdir=`pwd`
fi
fi
find . -type d -print|egrep -v '/(CVS)|(RCS)$'| while read dir; do find . -type d -print|egrep -v '/(CVS)|(RCS)$'| while read dir; do
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment