Skip to content

Commit 68f7748

Browse files
committed
fixed relative script path not found
1 parent c454296 commit 68f7748

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

02_make_addons.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ addon() {
4545
name="${script:6}"
4646
name="${name%.sh}"
4747
addon="z-$name.squashfs"
48+
[ -e "./$script" ] && script="./$script"
4849
if [ -e "$addon" ]; then
4950
echo "Addon $addon exists"
5051
else

0 commit comments

Comments
 (0)