Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
6461c636
Commit
6461c636
authored
Mar 23, 2002
by
Paul Eggert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(PRUNED): Avoid "head -1" and "tail +2", as POSIX 1003.1-2001
disallows both usages.
parent
6e34ec29
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
admin/quick-install-emacs
admin/quick-install-emacs
+4
-4
No files found.
admin/quick-install-emacs
View file @
6461c636
...
...
@@ -131,7 +131,7 @@ fi
CONFIG_STATUS
=
"
$BUILD
/config.status"
function
get_config_var
()
{
if
!
sed
-n
"s/^s
\(
.
\)
@
$1
@
\1\(
.*
\)\1
.*
$/
\2
/p"
$CONFIG_STATUS
|
head
-1
|
grep
''
if
!
sed
-n
"s/^s
\(
.
\)
@
$1
@
\1\(
.*
\)\1
.*
$/
\2
/p"
$CONFIG_STATUS
|
sed
q
|
grep
''
then
echo
1>&2
"
$me
:
$1
: Configuration variable not found in
$CONFIG_STATUS
"
exit
4
...
...
@@ -164,15 +164,15 @@ maybe_mkdir "$DST_INFO"
PRUNED
=
""
if
test
x
"
$PRUNE
"
!=
xno
;
then
for
D
in
`
ls
-1t
$BUILD
/etc/DOC-
*
|
tail
+2
`
;
do
for
D
in
`
ls
-1t
$BUILD
/etc/DOC-
*
|
sed
1d
`
;
do
echo
$REMOVE_CMD
$D
PRUNED
=
"
$PRUNED
$D
"
done
for
D
in
`
ls
-1t
$BUILD
/src/emacs-
$VERSION
.
*
|
tail
+2
`
;
do
for
D
in
`
ls
-1t
$BUILD
/src/emacs-
$VERSION
.
*
|
sed
1d
`
;
do
echo
$REMOVE_CMD
$D
PRUNED
=
"
$PRUNED
$D
"
done
for
D
in
`
ls
-1t
$BUILD
/lib-src/fns-
*
|
tail
+2
`
;
do
for
D
in
`
ls
-1t
$BUILD
/lib-src/fns-
*
|
sed
1d
`
;
do
echo
$REMOVE_CMD
$D
PRUNED
=
"
$PRUNED
$D
"
done
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment