git.annexia.org
/
goals.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
869f940
)
stdlib/fedora.gl: Quote parameters of 'test' command
author
Richard W.M. Jones
<rjones@redhat.com>
Tue, 24 Jan 2023 13:05:02 +0000
(13:05 +0000)
committer
Richard W.M. Jones
<rjones@redhat.com>
Tue, 24 Jan 2023 13:05:02 +0000
(13:05 +0000)
stdlib/fedora.gl
patch
|
blob
|
history
diff --git
a/stdlib/fedora.gl
b/stdlib/fedora.gl
index
cb518bc
..
f4106bc
100644
(file)
--- a/
stdlib/fedora.gl
+++ b/
stdlib/fedora.gl
@@
-147,7
+147,8
@@
pure function fedora-source-dependencies (pkg) returning strings = @{
for p in %fedora-source-packages; do
p_specfile=%fedora-dir/$p/%fedora-branch/$p.spec
p_depcache=%fedora-dir/$p/%fedora-branch/.depcache
- if ! test -f $p_depcache || test $p_specfile -nt $p_depcache; then
+ if ! test -f "$p_depcache" || test "$p_specfile" -nt "$p_depcache";
+ then
rm -f $p_depcache
for b in $(rpmspec -q --provides $p_specfile 2>/dev/null | awk '{print $1}'); do
echo "bin2src['$b']='$p'" >> $p_depcache