projects
/
tas-yagle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cc1c19
)
tasyagle-install: Add env var for setting the install dir
author
Andrey Miroshnikov
<andrey@technepisteme.xyz>
Mon, 18 Jul 2022 11:19:31 +0000
(11:19 +0000)
committer
Andrey Miroshnikov
<andrey@technepisteme.xyz>
Mon, 18 Jul 2022 11:19:31 +0000
(11:19 +0000)
build.sh
patch
|
blob
|
history
diff --git
a/build.sh
b/build.sh
index c6732698b446e9783b404a08aa7b09b10557314c..764ca6c6d91efd18be6be74611494a915ff846f9 100755
(executable)
--- a/
build.sh
+++ b/
build.sh
@@
-45,8
+45,16
@@
popd
# 'Install'
-mkdir -p install
-installDir="`pwd`/install"
+if [ -z $installDir ];
+then
+ mkdir -p install
+ installDir="`pwd`/install"
+ echo "Not provided install dir, setting to: $installDir"
+else
+ echo "Using provided install dir: $installDir"
+fi
+
+
mkdir -p ${installDir}/bin
mkdir -p ${installDir}/share/tasyag/etc