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

Added possibility to specify the base directory on the command line.

Rev: src/run_autoconfig:1.22
parent 6fa6a38d
No related branches found
No related tags found
No related merge requests found
#!/bin/sh #!/bin/sh
# #
# $Id: run_autoconfig,v 1.21 1998/03/28 15:01:10 grubba Exp $ # $Id: run_autoconfig,v 1.22 1998/04/03 14:00:10 grubba Exp $
# #
# Bootstrap script # Bootstrap script
need_to_make_depend=no need_to_make_depend=no
if test "x$1" = "x" ; then
base=`echo $0 | sed 's@[^/]*$@@g'` base=`echo $0 | sed 's@[^/]*$@@g'`
if test "x$base" != "x" ; then if test "x$base" != "x" ; then
cd "$base" cd "$base"
fi fi
else
cd "$1"
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.
Please register or to comment