Online Shell Script not picking up KACE variables in OSX 10.x script
The following line produces an error:
cp $(KACE_DEPENDENCY_DIR)/nckgahadagoaajjgafhacjanaoiihapd.json
/Library/Application Support/Dell/KACE/data/scripts/275/script.sh: line 13: KACE_DEPENDENCY_DIR: command not found
What I need is to get the shellscript to locate the json file being uploaded as a dependency and move that file to another location on the system.
1 Comment
[ + ] Show comment
-
Have you tried to open script.sh in the directory listed above to see what is going on? - Jbr32 10 years ago
Answers (1)
Answer Summary:
Please log in to answer