summaryrefslogtreecommitdiff
path: root/extra/scripts
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-12-11 00:32:40 +0000
committerMike Frysinger <vapier@gentoo.org>2006-12-11 00:32:40 +0000
commit08c9e9e978882a46433e8b07699e3a9d6254e821 (patch)
tree16c55455a01f62a543019db18bdc7dfb1b7f19da /extra/scripts
parent14db067a8bdcdc7a25d30e2bb662d271f0d995e7 (diff)
set some default vars to prevent env pollution
Diffstat (limited to 'extra/scripts')
-rwxr-xr-xextra/scripts/fix_includes.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/extra/scripts/fix_includes.sh b/extra/scripts/fix_includes.sh
index 3b97f04bf..106522c35 100755
--- a/extra/scripts/fix_includes.sh
+++ b/extra/scripts/fix_includes.sh
@@ -41,6 +41,8 @@ usage() {
# Parse our arguments
#
HAS_MMU="y"
+KERNEL_SOURCE=""
+TARGET_ARCH=""
while [ -n "$1" ]; do
case $1 in
-k ) shift; if [ -n "$1" ]; then KERNEL_SOURCE=$1; shift; else usage; fi; ;;