mirror of
https://github.com/ben-grande/qusal.git
synced 2025-08-20 19:58:25 -04:00
fix: avoid operand evaluation as argument
Explicit end option parsing as the shell can be quite dangerous without it.
This commit is contained in:
parent
e42950376a
commit
1b2f1ba941
52 changed files with 196 additions and 189 deletions
|
@ -21,9 +21,9 @@ dist="fc37"
|
|||
yum_repo_root="${HOME}/rpmrepo"
|
||||
yum_repo="${yum_repo_root}/${qubes_release}/${repo}/host/${dist}"
|
||||
|
||||
mkdir -p "${yum_repo}/rpm"
|
||||
mkdir -p -- "${yum_repo}/rpm"
|
||||
find "${build_dir}/RPMS/" -type f -name "*.rpm" \
|
||||
-exec cp {} "${yum_repo}/rpm/" \;
|
||||
-exec cp -- {} "${yum_repo}/rpm/" \;
|
||||
|
||||
createrepo_args=""
|
||||
if test -d "${yum_repo}/repodata"; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue