mirror of
https://github.com/gnustep/tools-make.git
synced 2025-05-30 17:01:18 +00:00
Better support for building applications and support for shared libraries.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@2507 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
dc6f2558bd
commit
cd198b7c11
10 changed files with 185 additions and 47 deletions
34
transform_paths.sh
Executable file
34
transform_paths.sh
Executable file
|
@ -0,0 +1,34 @@
|
|||
#!/bin/sh
|
||||
# transform_paths.sh
|
||||
#
|
||||
# Copyright (C) 1997 Free Software Foundation, Inc.
|
||||
#
|
||||
# Author: Ovidiu Predescu <ovidiu@net-community.com>
|
||||
# Date: October 1997
|
||||
#
|
||||
# This file is part of the GNUstep Makefile Package.
|
||||
#
|
||||
# This library is free software; you can redistribute it and/or
|
||||
# modify it under the terms of the GNU General Public License
|
||||
# as published by the Free Software Foundation; either version 2
|
||||
# of the License, or (at your option) any later version.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public
|
||||
# License along with this library; see the file COPYING.LIB.
|
||||
# If not, write to the Free Software Foundation,
|
||||
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
# Takes a list of paths possibly containing relative paths and outputs a
|
||||
# list containing only absolute paths based upon the current directory.
|
||||
|
||||
if [ -z "$*" ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
curdir=`pwd`
|
||||
|
||||
for dir in "$*"; do
|
||||
if [ -d $curdir/$dir ]; then
|
||||
echo `(cd $curdir/$dir; pwd)`
|
||||
fi
|
||||
done
|
Loading…
Add table
Add a link
Reference in a new issue