projects
/
selector.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9ac8b5e
)
Cosmetics.
author
Francois Fleuret
<francois@fleuret.org>
Tue, 7 Apr 2009 07:24:52 +0000
(09:24 +0200)
committer
Francois Fleuret
<francois@fleuret.org>
Tue, 7 Apr 2009 07:24:52 +0000
(09:24 +0200)
mkdeb.sh
patch
|
blob
|
history
diff --git
a/mkdeb.sh
b/mkdeb.sh
index
dff4880
..
63e225e
100755
(executable)
--- a/
mkdeb.sh
+++ b/
mkdeb.sh
@@
-29,12
+29,13
@@
VERSION=1.0-R`git log|grep ^commit|wc -l`
PACKAGE=/tmp/selector_${VERSION}_i386.deb
VERSION=1.0-R`git log|grep ^commit|wc -l`
PACKAGE=/tmp/selector_${VERSION}_i386.deb
-
+BIN_PATH="usr/bin"
+MAN_PATH="usr/share/man/man1"
make -k
TMP=`mktemp -d /tmp/deb.XXXXXX`
make -k
TMP=`mktemp -d /tmp/deb.XXXXXX`
-for d in DEBIAN
usr/bin usr/share/man/man1
; do
+for d in DEBIAN
${BIN_PATH} ${MAN_PATH}
; do
mkdir -p ${TMP}/${d}
done
mkdir -p ${TMP}/${d}
done
@@
-46,19
+47,19
@@
Version: ${VERSION}
Maintainer: Francois Fleuret <francois@fleuret.org>
Architecture: i386
Depends: ${LIB_DEPENDS}
Maintainer: Francois Fleuret <francois@fleuret.org>
Architecture: i386
Depends: ${LIB_DEPENDS}
-Description: A command line for dynamic string-matching
.
+Description: A command line for dynamic string-matching
This is a command line for dynamic string selection. As you type a
This is a command line for dynamic string selection. As you type a
- list of s
trings separated by ';' or a regexp, the display is updated
- in real time to show only the lines with matching content. The main
-
usage
of selector is as an efficient search in the shell command
+ list of s
ubstrings separated by ';', or a regexp, the display is
+ updated in real time to show only the matching lines. The main usage
+ of selector is as an efficient search in the shell command
history. With the correct option, it will inject the selected line
into the virtual tty input buffer, hence allowing the user to edit
the line and execute it as a standard command.
EOF
history. With the correct option, it will inject the selected line
into the virtual tty input buffer, hence allowing the user to edit
the line and execute it as a standard command.
EOF
-cp ./selector ${TMP}/
usr/bin
-cp ./selector.1 ${TMP}/
usr/share/man/man1
-gzip ${TMP}/
usr/share/man/man1
/selector.1
+cp ./selector ${TMP}/
${BIN_PATH}
+cp ./selector.1 ${TMP}/
${MAN_PATH}
+gzip ${TMP}/
${MAN_PATH}
/selector.1
dpkg-deb --build ${TMP} ${PACKAGE}
dpkg-deb --build ${TMP} ${PACKAGE}