arms tuff

main
jan Michal 3 years ago
parent 87a881a936
commit fd9686e440
No known key found for this signature in database
GPG Key ID: CB521D73AA05EBF2

@ -238,7 +238,7 @@ fn main() {
for pkg in packages { for pkg in packages {
let dups = Command::new("bash") let dups = Command::new("bash")
.args(&["-c", &format!("ls out/{}*.tar.zst -w 1 | sort -r", pkg)]) .args(&["-c", &format!("ls out/{}*.tar.* -w 1 | sort -r", pkg)])
.output() .output()
.unwrap() .unwrap()
.stdout .stdout

@ -23,7 +23,7 @@ pub fn build(pkg: String) {
.unwrap(); .unwrap();
Command::new("bash") Command::new("bash")
.args(&["-c", "cp *.pkg.tar.zst* ../out/"]) .args(&["-c", "cp *.pkg.tar* ../out/"])
.spawn() .spawn()
.unwrap() .unwrap()
.wait() .wait()

@ -27,7 +27,7 @@ pub fn generate() {
let files = format!("{}.files", &name); let files = format!("{}.files", &name);
Command::new("bash") Command::new("bash")
.args(&["-c", &format!("repo-add {}.tar.gz *.pkg.tar.zst", db)]) .args(&["-c", &format!("repo-add {}.tar.gz *.pkg.tar.*", db)])
.spawn() .spawn()
.unwrap() .unwrap()
.wait() .wait()

Loading…
Cancel
Save