summaryrefslogtreecommitdiff
path: root/tools/configure
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-05-23 09:18:14 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-05-23 09:18:14 +0000
commit82e6a072986aceee573a57f30157556330d59d1e (patch)
tree3e9c0cf9469eaeefd452fca122f7ff6b683a59ef /tools/configure
parent3aacd2edf176d5f4f51d9e0ae4731e253c7f4961 (diff)
downloadrockbox-82e6a072986aceee573a57f30157556330d59d1e.tar.gz
rockbox-82e6a072986aceee573a57f30157556330d59d1e.zip
try the directories in the current dir too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@657 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/configure')
-rwxr-xr-xtools/configure6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/configure b/tools/configure
index 44f359b97c..d95f965d43 100755
--- a/tools/configure
+++ b/tools/configure
@@ -77,9 +77,10 @@ esac
77 77
78firmfile="start.s" # a file to check for in the firmware root dir 78firmfile="start.s" # a file to check for in the firmware root dir
79 79
80for dir in . .. ../firmware ../../firmware; do 80for dir in firmware . .. ../firmware ../../firmware; do
81 if [ -f $dir/$firmfile ]; then 81 if [ -f $dir/$firmfile ]; then
82 firmdir=$dir 82 firmdir=$dir
83 break
83 fi 84 fi
84done 85done
85 86
@@ -96,9 +97,10 @@ fi
96 97
97appsfile="credits.c" # a file to check for in the apps root dir 98appsfile="credits.c" # a file to check for in the apps root dir
98 99
99for dir in $firmdir/apps $firmdir/../apps . .. ../apps ../../apps; do 100for dir in apps $firmdir/apps $firmdir/../apps . .. ../apps ../../apps; do
100 if [ -f $dir/$appsfile ]; then 101 if [ -f $dir/$appsfile ]; then
101 appsdir=$dir 102 appsdir=$dir
103 break
102 fi 104 fi
103done 105done
104 106