/build/static/layout/Breadcrumb_cap_w.png

Replacement Variable Problem

On our KBox 1000 I've discovered that $(KBOX_DEPENDENCY_DIR) is not expanding correctly. According to http://www.kace.com/support/kb/index.php?action=artikel&cat=5&id=560&artlang=en this should expand to

$(KACE_INSTALL)\packages\kbots\xxx

which $(KACE_INSTALL) should expand to

C:\Program Files\KACE\KBOX

so that my final $(KBOX_DEPENDENCY_DIR) should be

C:\Program Files\KACE\KBOX\packages\kbots\xxx

Instead, I'm getting

C:\Program Files\KACE\KBOX\\packages\kbots\xxx (double backslashes after KBOX).

Anyone else seen behavior like this? As you can imagine, this tends to break scripts (but, believe it or not, only sometimes -- just to add more frustration!)

Thanks!

0 Comments   [ + ] Show comments

Answers (2)

Posted by: zipsantro 12 years ago
Purple Belt
0
You could remove "\" from this statement. $(KACE_INSTALL)packages\kbots\xxx Generally directory property value comes with end slash. Jeeoo Santro
Posted by: kngunn 12 years ago
Yellow Belt
0
Yes indeed. I could also use the entire string directly (it's easy enough to figure out what the folder number is for the final bit of the path).

What I'm really asking is if anyone else has seen this (i.e.: Do I have a server configuration issue or is this reproducible for others?) and if there is a way to fix the $(KACE_DEPENDENCY_DIR) so that it works properly.

Thanks for the suggestion, though!

Comments:
  • I can say that I've seen it before, but don't remember what came of it. I probably abandoned whatever I was attempting to do. This might be completely off base, but it might be something with quotes? Regardless, moral of the story is you're not going crazy. - andibogard 12 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ