Fix finding the files

This commit is contained in:
Syer10
2022-01-18 19:19:17 -05:00
parent 0bb316d38f
commit d23bf1722d
3 changed files with 4 additions and 4 deletions

View File

@@ -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"

View File

@@ -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##*-}")

View File

@@ -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"