diff options
Diffstat (limited to 'src/helpers')
-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 |