Jenkins: Fix AppImage icon searching, closes #2904
This commit is contained in:
@@ -1014,7 +1014,7 @@ else
|
|||||||
mkdir -p "$icon_dir"
|
mkdir -p "$icon_dir"
|
||||||
cp -rp "$icon_size" "$icon_dir/apps"
|
cp -rp "$icon_size" "$icon_dir/apps"
|
||||||
done
|
done
|
||||||
project_icon=$(ls "$icon_base/"[0-9]*x[0-9]*/* | head -1 | grep -oP '/\K([^/]+)(?=\.[^\.]+$)')
|
project_icon=$(find "$icon_base/"[0-9]*x[0-9]*/* -type f -name '*.png' | head -1 | grep -oP '/\K([^/]+)(?=\.[^\.]+$)')
|
||||||
|
|
||||||
# Archive executable, while also stripping it if requested.
|
# Archive executable, while also stripping it if requested.
|
||||||
mkdir -p archive_tmp/usr/local/bin
|
mkdir -p archive_tmp/usr/local/bin
|
||||||
|
Reference in New Issue
Block a user