Search Results

Search: Posts Made By: Bags
161,631
Posted By Bags
The solution is: ANT_HOME := /usr/local/ant ...
The solution is:
ANT_HOME := /usr/local/ant
JAVA_HOME := /usr/jdk/jdk1.5.0_06
PATH := ${PATH}:${ANT_HOME}/bin

tinker:
@echo ${ANT_HOME}
@echo ${JAVA_HOME}
@echo...
161,631
Posted By Bags
Setting environment variables in Makefile
I've seen a few other threads like this, but they either went unanswered or failed to answer my question.

How do I set an environment variable in a Makefile?

What I'm trying to do is use GNU...
6,957
Posted By Bags
Well.. I fixed the problem by changing the script...
Well.. I fixed the problem by changing the script from a class script (i.none) to a post install script (postinstall).

Still don't know "what's the dilly-o".. but it works..
6,957
Posted By Bags
It seems that something is the matter with a...
It seems that something is the matter with a install script for the <none> class.

Here it is.. echo "boing!"
/bin/echo "/^DIRNAME/i\nJAVA_HOME=$JAVADIR\n.\nwq" \
| ex -s...
6,957
Posted By Bags
PKGADD error
Hello.. I'm making a pkg file that inserts a few files into an existing directory structure.

I'm having some trouble in that the package will insert the directories I need.. but will fail to put...
4,295
Posted By Bags
0_o Well, it's not precisely SED, but it...
0_o

Well, it's not precisely SED, but it works.
Thank you!

Any clue why the other script didn't work?
4,295
Posted By Bags
I'm still going crazy trying to get this thing to...
I'm still going crazy trying to get this thing to work..
4,295
Posted By Bags
It executes.. but the pattern is not matched...
It executes.. but the pattern is not matched anywhere in run.sh..
So a diff between the input and output shows no change.

As a side note, my last error correctly interpreted $BASEDIR.
4,295
Posted By Bags
When I change the command to: sed " ...
When I change the command to:
sed "
/^DIRNAME/ i\
JAVA_HOME=$BASEDIR
" <../../tmp/run.sh >run2.sh

I get and error:
sed: command garbled: /^DIRNAME/ iJAVA_HOME=
"Use double quotes" is a...
4,295
Posted By Bags
Env vars in a SED script
Hello,
<Preamble>
I'm writing an installation script for use with PKGADD. What I want to do is take one of the variables set in the REQUEST script and use that in the install script so I can...
Showing results 1 to 10 of 10

 
All times are GMT -4. The time now is 02:01 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy