Browse Source

Rename binary: shellfu-embed to sfembed

Mostly for consistency with the other two binaries.
Alois Mahdal 7 years ago
parent
commit
ef9b9333a3
4 changed files with 7 additions and 7 deletions
  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 View File

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

+ 1
- 1
packaging/debian/shellfu-devel.install View File

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

+ 1
- 1
packaging/template.spec View File

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

src/bin/shellfu-embed → src/bin/sfembed View File

1
 #!/bin/bash
1
 #!/bin/bash
2
 
2
 
3
-. "$(shellfu-get path)" || exit 3
3
+. "$(sfpath)" || exit 3
4
 
4
 
5
 shellfu import pretty
5
 shellfu import pretty
6
 
6
 
81
     echo "# shellfu version: $SHELLFU_VERSION"
81
     echo "# shellfu version: $SHELLFU_VERSION"
82
     echo "#"
82
     echo "#"
83
     echo
83
     echo
84
-    echo "# neuter any shellfu and shellfu-get calls"
84
+    echo "# neuter any shellfu and sfpath calls"
85
     echo "shellfu() { :; }"
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
     #       not installed and needed in the script; ie. beats
88
     #       not installed and needed in the script; ie. beats
89
     #       the use case when embedding is done to avoid
89
     #       the use case when embedding is done to avoid
90
     #       conflict
90
     #       conflict