mirror of
https://github.com/gnustep/tools-make.git
synced 2025-05-30 00:41:14 +00:00
Use grep
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@8117 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
0b2fcaae7d
commit
d206cb8fbe
3 changed files with 8 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
Tue Nov 14 23:47:11 2000 Adam Fedor <fedor@yogi.doc.com>
|
||||
|
||||
* GNUstep.sh.in: Use grep instead of fgrep.
|
||||
* ld_library_path.sh: Likewise
|
||||
|
||||
2000-11-06 Adam Fedor <fedor@gnu.org>
|
||||
|
||||
* documentation.make: Remove conversion of tmpl.texi files to
|
||||
|
|
|
@ -120,7 +120,7 @@ gnustep_class_path="$GNUSTEP_USER_ROOT/Libraries/Java:$GNUSTEP_LOCAL_ROOT/Librar
|
|||
if [ -z "$CLASSPATH" ]; then
|
||||
CLASSPATH="$gnustep_class_path"
|
||||
else
|
||||
if ( echo ${CLASSPATH}|fgrep -v "${gnustep_class_path}" >/dev/null ); then
|
||||
if ( echo ${CLASSPATH}| grep -v "${gnustep_class_path}" >/dev/null ); then
|
||||
CLASSPATH="$CLASSPATH:$gnustep_class_path"
|
||||
fi
|
||||
fi
|
||||
|
|
|
@ -73,7 +73,7 @@ case "$host_os" in
|
|||
if [ -z "$LD_LIBRARY_PATH" ]; then
|
||||
LD_LIBRARY_PATH="$lib_paths"
|
||||
else
|
||||
if ( echo ${LD_LIBRARY_PATH}|fgrep -v "${lib_paths}" >/dev/null ); then
|
||||
if ( echo ${LD_LIBRARY_PATH}| grep -v "${lib_paths}" >/dev/null ); then
|
||||
LD_LIBRARY_PATH="$lib_paths:$LD_LIBRARY_PATH"
|
||||
fi
|
||||
fi
|
||||
|
@ -83,7 +83,7 @@ case "$host_os" in
|
|||
if [ -z "$LD_LIBRARY_PATH" ]; then
|
||||
LD_LIBRARY_PATH="$lib_paths"
|
||||
else
|
||||
if ( echo ${LD_LIBRARY_PATH}|fgrep -v "${lib_paths}" >/dev/null ); then
|
||||
if ( echo ${LD_LIBRARY_PATH}| grep -v "${lib_paths}" >/dev/null ); then
|
||||
LD_LIBRARY_PATH="$lib_paths:$LD_LIBRARY_PATH"
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue