3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #214178 from urandom2/aaxtomp3

aaxtomp3: drop osh patch
This commit is contained in:
Sandro 2023-02-02 16:09:54 +01:00 committed by GitHub
commit 385ea92713
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 19 deletions

View file

@ -27,10 +27,6 @@ resholve.mkDerivation rec {
hash = "sha256-7a9ZVvobWH/gPxa3cFiPL+vlu8h1Dxtcq0trm3HzlQg=";
};
# use whitespace to show osh arithmetic is not file redirection
# see: https://github.com/oilshell/oil/issues/1446
patches = [./osh.patch];
postPatch = ''
substituteInPlace AAXtoMP3 \
--replace 'AAXtoMP3' 'aaxtomp3'

View file

@ -1,15 +0,0 @@
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"