mirror of
https://github.com/9001/copyparty.git
synced 2026-03-27 10:33:11 +10:00
misc
This commit is contained in:
@@ -266,6 +266,14 @@ necho() {
|
||||
cp -p "$f2" "$f1"
|
||||
); done
|
||||
|
||||
# resolve symlinks on windows
|
||||
[ "$OSTYPE" = msys ] &&
|
||||
(cd ..; git ls-files -s | awk '/^120000/{print$4}') |
|
||||
while IFS= read -r x; do
|
||||
[ $(wc -l <"$x") -gt 1 ] && continue
|
||||
(cd "${x%/*}"; cp -p "../$(cat "${x##*/}")" ${x##*/})
|
||||
done
|
||||
|
||||
# insert asynchat
|
||||
mkdir copyparty/vend
|
||||
for n in asyncore.py asynchat.py; do
|
||||
|
||||
Reference in New Issue
Block a user