diff options
author | Guy Sheffer <guysoft@gmail.com> | 2018-04-19 13:31:51 +0300 |
---|---|---|
committer | Guy Sheffer <guysoft@gmail.com> | 2018-04-19 13:31:51 +0300 |
commit | 513f9141d5c3f77077b26656e02fa9fd18c3242b (patch) | |
tree | 07499515b46d0419dd8165c3cb30ebde0c665187 | |
parent | 8a006d1c23ee866c4ee8015645d0a9100bfd655a (diff) |
Fix #5150.15.0
-rwxr-xr-x | src/modules/octopi/config | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/octopi/config b/src/modules/octopi/config index d6c954e..fcca2e0 100755 --- a/src/modules/octopi/config +++ b/src/modules/octopi/config @@ -29,3 +29,5 @@ # yq [ -n "$OCTOPI_YQ_DOWNLOAD" ] || OCTOPI_YQ_DOWNLOAD=$(wget -q -O - https://api.github.com/repos/mikefarah/yq/releases/latest | grep "browser_download_url" | grep "yq_linux_arm" | cut -d : -f 2,3 | tr -d \" | tr -d ,) + +[ -n "$OCTOPI_COMMIT" ] || OCTOPI_COMMIT=`pushd "${DIST_PATH}" > /dev/null ; git rev-parse HEAD ; popd > /dev/null` |