Changeset afb1e35 in mainline


Ignore:
Timestamp:
2008-05-30T14:23:29Z (17 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6387c18
Parents:
960f8476
Message:

cleanup scripts

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • HelenOS.config

    r960f8476 rafb1e35  
    4545@ "simics" Simics
    4646@ "bgxemul" GXEmul big endian
    47 @ "lgxemul" GXEmul little endia
     47@ "lgxemul" GXEmul little endian
    4848@ "indy" Sgi Indy
    4949! [PLATFORM=mips32] MACHINE (choice)
  • tools/fix_symlinks.sh

    r960f8476 rafb1e35  
     1#!/bin/bash
     2
    13# by Alf
    24# This script solves malfunction of symlinks in cygwin
     
    79
    810if uname | grep 'CYGWIN' > /dev/null; then
    9   echo "Good ... you have cygwin"
     11        echo "Good ... you have cygwin"
    1012else
    11   echo "Wrong. This script is only for cygwin"
    12   exit
     13        echo "Wrong. This script is only for cygwin"
     14        exit
    1315fi
    1416 
    1517for linkName in `find . ! -iwholename '.*svn*' ! -type d -print`; do
    16   if head -n 1 $linkName | grep '^link' > /dev/null; then
    17      linkTarget=`head -n 1 $linkName | sed 's/^link //'`
    18      echo $linkName " -->" $linkTarget
    19      rm $linkName
    20      ln -s "$linkTarget" "$linkName"
    21    fi   
     18        if head -n 1 $linkName | grep '^link' > /dev/null; then
     19                linkTarget=`head -n 1 $linkName | sed 's/^link //'`
     20                echo $linkName " -> " $linkTarget
     21                rm $linkName
     22                ln -s "$linkTarget" "$linkName"
     23        fi   
    2224done
  • tools/mktmpfs.py

    r960f8476 rafb1e35  
    3636
    3737def align_up(size, alignment):
     38        "Align upwards to a given alignment"
    3839        return (((size) + ((alignment) - 1)) & ~((alignment) - 1))
    3940
  • uspace/srv/pci/update-ids

    r960f8476 rafb1e35  
    33wget http://pciids.sourceforge.net/v2.2/pci.ids
    44
    5 cat >pci_ids.h <<EOF
     5cat > pci_ids.h <<EOF
    66/* DO NOT EDIT, THIS FILE IS AUTOMATICALLY GENERATED */
    77char *pci_ids[] = {
    88EOF
    99
    10 cat pci.ids | grep -v '^#.*' | grep -v '^$' | tr \" \' | sed -n 's/\(.*\)/"\1",/p' >>pci_ids.h
     10cat pci.ids | grep -v '^#.*' | grep -v '^$' | tr \" \' | sed -n 's/\(.*\)/"\1",/p' >> pci_ids.h
    1111
    12 cat >>pci_ids.h <<EOF
     12cat >> pci_ids.h <<EOF
    1313""
    1414};
    1515EOF
    16 
Note: See TracChangeset for help on using the changeset viewer.