mirror of
https://github.com/9001/copyparty.git
synced 2026-04-01 04:53:10 +10:00
fix make-sfx macos support
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
outfile="$(realpath "$1")"
|
||||
outfile="$($(command -v realpath || command -v grealpath) "$1")"
|
||||
|
||||
[ -e genlic.sh ] || cd scripts
|
||||
[ -e genlic.sh ]
|
||||
|
||||
@@ -50,10 +50,11 @@ help() { exec cat <<'EOF'
|
||||
EOF
|
||||
}
|
||||
|
||||
# port install gnutar findutils gsed coreutils
|
||||
# port install gnutar findutils gsed gawk coreutils
|
||||
gtar=$(command -v gtar || command -v gnutar) || true
|
||||
[ ! -z "$gtar" ] && command -v gfind >/dev/null && {
|
||||
tar() { $gtar "$@"; }
|
||||
tr() { gtr "$@"; }
|
||||
sed() { gsed "$@"; }
|
||||
find() { gfind "$@"; }
|
||||
sort() { gsort "$@"; }
|
||||
@@ -232,7 +233,7 @@ tmpdir="$(
|
||||
|
||||
cp -pR ../scripts/strip_hints/ .
|
||||
)
|
||||
cp -pR ../scripts/py2/ .
|
||||
cp -pR ../scripts/py2 .
|
||||
|
||||
# msys2 tar is bad, make the best of it
|
||||
echo collecting source
|
||||
|
||||
Reference in New Issue
Block a user