YUKI Hiroshi
null+****@clear*****
Fri Sep 26 15:21:54 JST 2014
YUKI Hiroshi 2014-09-26 15:21:54 +0900 (Fri, 26 Sep 2014) New Revision: 66caf376e1c0ea2871aff03b1ff686eaa47965e5 https://github.com/droonga/droonga-http-server/commit/66caf376e1c0ea2871aff03b1ff686eaa47965e5 Message: Extract code to get current version Modified files: install.sh Modified: install.sh (+5 -1) =================================================================== --- install.sh 2014-09-26 15:18:30 +0900 (a8dcef0) +++ install.sh 2014-09-26 15:21:54 +0900 (77ab2c1) @@ -237,10 +237,14 @@ script_url() { if [ "$VERSION" = "master" ]; then echo "$SCRIPT_URL_BASE/master/$1" else - echo "$SCRIPT_URL_BASE/v$($NAME --version)/$1" + echo "$SCRIPT_URL_BASE/v$(installed_version)/$1" fi } +installed_version() { + $NAME --version +} + # ====================== for Debian/Ubuntu ========================== -------------- next part -------------- HTML����������������������������... ダウンロード