소스 검색

Rename binary: shellfu-embed to sfembed

Mostly for consistency with the other two binaries.
Alois Mahdal 7 년 전
부모
커밋
ef9b9333a3
4개의 변경된 파일7개의 추가작업 그리고 7개의 파일을 삭제
  1. 1
    1
      mkit.ini
  2. 1
    1
      packaging/debian/shellfu-devel.install
  3. 1
    1
      packaging/template.spec
  4. 4
    4
      src/bin/sfembed

+ 1
- 1
mkit.ini 파일 보기

@@ -42,7 +42,7 @@
42 42
 
43 43
 [files]
44 44
     bin      = src/bin/sfdoc
45
-    bin      = src/bin/shellfu-embed
45
+    bin      = src/bin/sfembed
46 46
     bin      = src/bin/sfpath
47 47
     doc      = LICENSE.md
48 48
     doc      = README.md

+ 1
- 1
packaging/debian/shellfu-devel.install 파일 보기

@@ -1,3 +1,3 @@
1 1
 /etc/bash_completion.d/shellfu-devel.bash
2 2
 /usr/bin/sfdoc
3
-/usr/bin/shellfu-embed
3
+/usr/bin/sfembed

+ 1
- 1
packaging/template.spec 파일 보기

@@ -112,7 +112,7 @@ make test \
112 112
 %files devel
113 113
 %config %{_sysconfdir}/bash_completion.d/shellfu-devel.bash
114 114
 %{_bindir}/sfdoc
115
-%{_bindir}/shellfu-embed
115
+%{_bindir}/sfembed
116 116
 
117 117
 %files sh
118 118
 %dir %{_datadir}/%{name}/include-sh

src/bin/shellfu-embed → src/bin/sfembed 파일 보기

@@ -1,6 +1,6 @@
1 1
 #!/bin/bash
2 2
 
3
-. "$(shellfu-get path)" || exit 3
3
+. "$(sfpath)" || exit 3
4 4
 
5 5
 shellfu import pretty
6 6
 
@@ -81,10 +81,10 @@ mkhead() {
81 81
     echo "# shellfu version: $SHELLFU_VERSION"
82 82
     echo "#"
83 83
     echo
84
-    echo "# neuter any shellfu and shellfu-get calls"
84
+    echo "# neuter any shellfu and sfpath calls"
85 85
     echo "shellfu() { :; }"
86
-    echo "shellfu-get() { echo /dev/null; }"
87
-    #FIXME: this still assumes that shellfu-get and shellfu are
86
+    echo "sfpath() { echo /dev/null; }"
87
+    #FIXME: this still assumes that sfet and shellfu are
88 88
     #       not installed and needed in the script; ie. beats
89 89
     #       the use case when embedding is done to avoid
90 90
     #       conflict