diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-04-06 23:07:50 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-04-06 23:07:50 +0100 |
commit | 970ad8af97973bec2886086862a68541c96313e6 (patch) | |
tree | 45e3ab9f62c9ebd0cf0d4f7bb130e6b8c2f7c46d /src | |
parent | 28cc51276bddd0bb10f870dab5ec8df5f245d534 (diff) |
make sure helpers won't fail
Diffstat (limited to 'src')
-rwxr-xr-x | src/helpers/make_local_csv_post | 4 | ||||
-rwxr-xr-x | src/helpers/make_local_csv_pre | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/helpers/make_local_csv_post b/src/helpers/make_local_csv_post index 5e44670..418cb77 100755 --- a/src/helpers/make_local_csv_post +++ b/src/helpers/make_local_csv_post @@ -1,8 +1,8 @@ #!/usr/bin/env bash makecsv() { - qlist -ICScv|sed -e "s/\//\,/" -e "s/[\t ]/\,/" -e "s/\:/\,/" >> "/tmp/local_packages_post.csv" - mv "/tmp/local_packages_post.csv" "/var/lib/sisyphus/csv/" + qlist -ICScv|sed -e "s/\//\,/" -e "s/[\t ]/\,/" -e "s/\:/\,/" >> /tmp/local_packages_post.csv + mv /tmp/local_packages_post.csv /var/lib/sisyphus/csv/ } makecsv diff --git a/src/helpers/make_local_csv_pre b/src/helpers/make_local_csv_pre index 2fb9099..53ac2c2 100755 --- a/src/helpers/make_local_csv_pre +++ b/src/helpers/make_local_csv_pre @@ -1,8 +1,8 @@ #!/usr/bin/env bash makecsv() { - qlist -ICScv|sed -e "s/\//\,/" -e "s/[\t ]/\,/" -e "s/\:/\,/" >> "/tmp/local_packages_pre.csv" - mv "/tmp/local_packages_pre.csv" "/var/lib/sisyphus/csv/" + qlist -ICScv|sed -e "s/\//\,/" -e "s/[\t ]/\,/" -e "s/\:/\,/" >> /tmp/local_packages_pre.csv + mv /tmp/local_packages_pre.csv /var/lib/sisyphus/csv/ } makecsv |