[Groonga-commit] droonga/droonga-http-server at 01aab4a [master] Detect basename correctly

Back to archive index

YUKI Hiroshi null+****@clear*****
Tue Sep 16 19:15:47 JST 2014


YUKI Hiroshi	2014-09-16 19:15:47 +0900 (Tue, 16 Sep 2014)

  New Revision: 01aab4a3dbeccbfec2daa5e97907ac508deabc8d
  https://github.com/droonga/droonga-http-server/commit/01aab4a3dbeccbfec2daa5e97907ac508deabc8d

  Message:
    Detect basename correctly

  Modified files:
    install.sh

  Modified: install.sh (+1 -1)
===================================================================
--- install.sh    2014-09-16 19:14:09 +0900 (b9653fd)
+++ install.sh    2014-09-16 19:15:47 +0900 (bef1126)
@@ -245,7 +245,7 @@ install_in_centos() {
     # the system administrator won't expect to use it
     # in his daily use.
     epel_repo=/etc/yum.repos.d/epel.repo
-    backup=/tmp/$(basename $file).bak
+    backup=/tmp/$(basename $epel_repo).bak
     mv $epel_repo $backup
     cat $backup | $sed -e "s/enabled=1/enabled=0/" \
       > $epel_repo
-------------- next part --------------
HTML����������������������������...
다운로드 



More information about the Groonga-commit mailing list
Back to archive index