home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / usr / share / GNUstep / Makefiles / cpu.sh < prev    next >
Encoding:
Linux/UNIX/POSIX Shell Script  |  2007-10-30  |  794 b   |  24 lines

  1. #! /bin/sh
  2. #
  3. #   cpu.sh
  4. #
  5. #   Print out the CPU from a canonical name.
  6. #
  7. #   Copyright (C) 1997 Free Software Foundation, Inc.
  8. #
  9. #   Author:  Scott Christley <scottc@net-community.com>
  10. #
  11. #   This file is part of the GNUstep Makefile Package.
  12. #
  13. #   This library is free software; you can redistribute it and/or
  14. #   modify it under the terms of the GNU General Public License
  15. #   as published by the Free Software Foundation; either version 3
  16. #   of the License, or (at your option) any later version.
  17. #   
  18. #   You should have received a copy of the GNU General Public
  19. #   License along with this library; see the file COPYING.
  20. #   If not, write to the Free Software Foundation,
  21. #   51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  22.  
  23. echo $1 | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'
  24.