diff options
| author | ruki <[email protected]> | 2017-03-31 08:37:28 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-03-31 08:37:28 +0800 |
| commit | 9add6351f3b19c569d5eafecadf659297070522a (patch) | |
| tree | 1535cb52bfca55ac6edee28ecaf113d43285d1a3 | |
| parent | bca7be16bc36004e42f6b8f868c2214f981f0f09 (diff) | |
fix xmake.sh mode for PKGBUILD
| -rw-r--r-- | scripts/PKGBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/PKGBUILD b/scripts/PKGBUILD index 54b00df46..25deb0215 100644 --- a/scripts/PKGBUILD +++ b/scripts/PKGBUILD @@ -19,11 +19,11 @@ build() { package() { cd "$srcdir/${pkgname}-${pkgver}" - cp -vr "./xmake" "${pkgdir}/usr/share/" - install -Dvm755 `find ./core/bin/demo.pkg/bin/linux/ -name "demo.b"` "${pkgdir}/usr/share/xmake/xmake" + cp -r "./xmake" "${pkgdir}/usr/share/" + install -Dm755 `find ./core/bin/demo.pkg/bin/linux/ -name "demo.b"` "${pkgdir}/usr/share/xmake/xmake" echo "#/!bin/bash export XMAKE_PROGRAM_DIR=/usr/share/xmake /usr/share/xmake/xmake \"\$@\" " > ./xmake.sh - install "./xmake.sh" "${pkgdir}/usr/bin/xmake" + install -Dm755 "./xmake.sh" "${pkgdir}/usr/bin/xmake" } |
