mirror of
https://github.com/Suwayomi/TachideskJUI.git
synced 2025-12-10 23:02:04 +01:00
Fix finding the files
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
deb="$(find ./build/compose/binaries/main/deb/*.deb)"
|
||||
deb="$(find ./ -iname '*.deb')"
|
||||
dir="$(dirname "$deb")"
|
||||
echo "Found deb file $deb in $dir"
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
msi="$(find ./build/compose/binaries/main/msi/*.msi 2>/dev/null)"
|
||||
msi="$(find ./ -iname '*.msi' 2>/dev/null)"
|
||||
if [ -f "$msi" ]; then
|
||||
dir="$(dirname "$msi")"
|
||||
version=$(tmp="${msi%.*}" && echo "${tmp##*-}")
|
||||
@@ -10,7 +10,7 @@ if [ -f "$msi" ]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
dmg="$(find ./build/compose/binaries/main/dmg/*.dmg 2>/dev/null)"
|
||||
dmg="$(find ./ -iname '*.dmg' 2>/dev/null)"
|
||||
if [ -f "$dmg" ]; then
|
||||
dir="$(dirname "$dmg")"
|
||||
version=$(tmp="${dmg%.*}" && echo "${tmp##*-}")
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
rpm="$(find ./build/compose/binaries/main/rpm/*.rpm)"
|
||||
rpm="$(find ./ -iname '*.rpm')"
|
||||
dir="$(dirname "$rpm")"
|
||||
|
||||
echo "Adding java dependency to rpm file $rpm in $dir"
|
||||
|
||||
Reference in New Issue
Block a user