projects
/
platform
/
upstream
/
armnn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8800c00
)
IVGCVSW-2115: Fix for unset USERNAME
author
jimfly01
<jim.flynn@arm.com>
Mon, 19 Nov 2018 13:42:45 +0000
(13:42 +0000)
committer
Matteo Martincigh
<matteo.martincigh@arm.com>
Mon, 19 Nov 2018 16:33:11 +0000
(16:33 +0000)
* When running the script standalone USERNAME can be unset causing failure
Change-Id: Idb1752117c319c8946426efe8882f03034b2bbbf
scripts/get_compute_library.sh
patch
|
blob
|
history
diff --git
a/scripts/get_compute_library.sh
b/scripts/get_compute_library.sh
index
8d6fb2a
..
6385011
100755
(executable)
--- a/
scripts/get_compute_library.sh
+++ b/
scripts/get_compute_library.sh
@@
-46,6
+46,9
@@
done
DIR="$( cd -P "$( dirname "$SRC" )" >/dev/null && pwd )"
pushd ${DIR} > /dev/null
cd ../..
+if [ -z "$USERNAME" ]; then
+ USERNAME=$USER
+fi
if [ -z "$GITHUB_USERNAME" ]; then
GITHUB_USERNAME=$USERNAME
echo "setting GITHUB_USERNAME: ${GITHUB_USERNAME} use -g command line option to change"