Correggi la copia dei sorgenti nel build-apk.sh per evitare problemi di autorizzazione
This commit is contained in:
parent
c588e183d1
commit
b61c3bb7ff
1 changed files with 3 additions and 1 deletions
|
|
@ -29,7 +29,9 @@ trap 'rm -rf "$tmpdir"' EXIT
|
|||
|
||||
echo "Copia sorgenti in $tmpdir"
|
||||
# copy repository into a folder named watchyourlan-<ver> as expected by abuild
|
||||
cp -a "$PKGDIR/../." "$tmpdir/watchyourlan-2.4.1"
|
||||
# use recursive copy without preserving ownership to avoid "Operation not permitted"
|
||||
mkdir -p "$tmpdir/watchyourlan-2.4.1"
|
||||
cp -r "$PKGDIR/../." "$tmpdir/watchyourlan-2.4.1"
|
||||
cp "$PKGDIR/APKBUILD" "$tmpdir/watchyourlan-2.4.1/"
|
||||
|
||||
cd "$tmpdir/watchyourlan-2.4.1"
|
||||
|
|
|
|||
Loading…
Reference in a new issue