summaryrefslogtreecommitdiff
path: root/extra/scripts/fix_includes.sh
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-09-30 07:06:02 +0000
committerEric Andersen <andersen@codepoet.org>2003-09-30 07:06:02 +0000
commit1c2f6ec3ea8642377310d58c893ee52e1c0b8be5 (patch)
treeb8c753f8c1e11f6360e7f19598808c510b264693 /extra/scripts/fix_includes.sh
parent4e180baa7f4e358fd5611b67d67c0f73462a8af5 (diff)
oops.
Diffstat (limited to 'extra/scripts/fix_includes.sh')
-rwxr-xr-xextra/scripts/fix_includes.sh16
1 files changed, 8 insertions, 8 deletions
diff --git a/extra/scripts/fix_includes.sh b/extra/scripts/fix_includes.sh
index fa7cc28c5..04295a62a 100755
--- a/extra/scripts/fix_includes.sh
+++ b/extra/scripts/fix_includes.sh
@@ -114,15 +114,15 @@ if [ ! -d "$KERNEL_SOURCE/include/asm" ]; then
if [ "$TARGET_ARCH" = "powerpc" ];then
set -x;
ln -fs $KERNEL_SOURCE/include/asm-ppc include/asm;
- unset -x;
+ set +x;
elif [ "$TARGET_ARCH" = "mips" ];then
set -x;
ln -fs $KERNEL_SOURCE/include/asm-mips include/asm;
- unset -x;
+ set +x;
elif [ "$TARGET_ARCH" = "arm" ];then
set -x;
ln -fs $KERNEL_SOURCE/include/asm-arm include/asm;
- unset -x;
+ set +x;
if [ ! -L $KERNEL_SOURCE/include/asm-arm/proc ] ; then
if [ ! -L proc ] ; then
(cd include/asm;
@@ -133,25 +133,25 @@ if [ ! -d "$KERNEL_SOURCE/include/asm" ]; then
elif [ "$TARGET_ARCH" = "mipsel" ];then
set -x;
ln -fs $KERNEL_SOURCE/include/asm-mips include/asm;
- unset -x;
+ set +x;
elif [ "$TARGET_ARCH)" = "cris" ]; then
set -x;
ln -fs $KERNEL_SOURCE/include/asm-cris include/asm;
- unset -x;
+ set +x;
elif [ "$HAS_MMU" != "y" ]; then
if [ -d $KERNEL_SOURCE/include/asm-${TARGET_ARCH}nommu ] ; then
set -x;
ln -fs $KERNEL_SOURCE/include/asm-${TARGET_ARCH}nommu include/asm;
- unset -x;
+ set +x;
else
set -x;
ln -fs $KERNEL_SOURCE/include/asm-$TARGET_ARCH include/asm;
- unset -x;
+ set +x;
fi;
else
set -x;
ln -fs $KERNEL_SOURCE/include/asm-$TARGET_ARCH include/asm;
- unset -x;
+ set +x;
fi;
else
# No guessing required.....