mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-07 05:23:16 +00:00
3cff1da834
Instead of wrapping out binary, we can patch the script to point directly into /nix/store/. While doing this, we added a few dependencies we missed and found an osh parsing bug that has been reported upstream. See oilshell/oil#1446
16 lines
678 B
Diff
16 lines
678 B
Diff
diff --git a/AAXtoMP3 b/AAXtoMP3
|
|
index 90566ad..71e94da 100755
|
|
--- a/AAXtoMP3
|
|
+++ b/AAXtoMP3
|
|
@@ -200,8 +200,8 @@ progressbar() {
|
|
|
|
#draw progressbar with one # for every 5% and blank spaces for the missing part.
|
|
progressbar=""
|
|
- for (( n=0; n<(percentage/5); n++ )) ; do progressbar="$progressbar#"; done
|
|
- for (( n=0; n<(20-(percentage/5)); n++ )) ; do progressbar="$progressbar "; done
|
|
+ for (( n=0; n< (percentage/5); n++ )) ; do progressbar="$progressbar#"; done
|
|
+ for (( n=0; n< (20-(percentage/5)); n++ )) ; do progressbar="$progressbar "; done
|
|
|
|
#print progressbar
|
|
echo -ne "Chapter splitting: |$progressbar| $print_percentage% ($part/$total chapters)\r"
|