projects
/
tools
/
librpm-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6681ac1
)
Fix return code handling
author
marc
<devnull@localhost>
Mon, 2 Feb 1998 15:34:36 +0000
(15:34 +0000)
committer
marc
<devnull@localhost>
Mon, 2 Feb 1998 15:34:36 +0000
(15:34 +0000)
CVS patchset: 1981
CVS date: 1998/02/02 15:34:36
build/parsePrep.c
patch
|
blob
|
history
diff --git
a/build/parsePrep.c
b/build/parsePrep.c
index
556a2f2
..
df22013
100644
(file)
--- a/
build/parsePrep.c
+++ b/
build/parsePrep.c
@@
-259,8
+259,9
@@
static char *doUntar(Spec spec, int c, int quietly)
if (compressed) {
sprintf(buf,
"%s -dc %s | tar %s -\n"
- "if [ $? -ne 0 ]; then\n"
- " exit $?\n"
+ "STATUS=$?\n"
+ "if [ $STATUS -ne 0 ]; then\n"
+ " exit $STATUS\n"
"fi",
rpmGetVar(RPMVAR_GZIPBIN), file, taropts);
} else {