Simplified shell scripts to extract cpu, os, vendor from config string

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@17940 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2003-10-20 14:01:07 +00:00
parent 73004db61b
commit 2846c061b9
4 changed files with 9 additions and 3 deletions

View file

@ -1,3 +1,9 @@
Mon Oct 20 15:02:22 2003 Nicola Pero <n.pero@mi.flashnet.it>
* cpu.sh: Simplified code by removing unused echo command.
* os.sh: Same change.
* vendor.sh: Same change.
Mon Oct 20 14:49:03 2003 Nicola Pero <n.pero@mi.flashnet.it>
* Instance/framework.make (internal-framework-distclean): Delete

2
cpu.sh
View file

@ -20,4 +20,4 @@
# If not, write to the Free Software Foundation,
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
echo `echo $1 | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
echo $1 | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'

2
os.sh
View file

@ -20,4 +20,4 @@
# If not, write to the Free Software Foundation,
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
echo `echo $1 | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
echo $1 | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'

View file

@ -20,4 +20,4 @@
# If not, write to the Free Software Foundation,
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
echo `echo $1 | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
echo $1 | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'