summaryrefslogtreecommitdiff
path: root/ptranslate/translators-posix/x-tar.sh
blob: d7a58729221286653680847a5ff0b677700a25bc (plain)
1
2
3
4
#!/bin/sh
cd `dirname "$1"`
tar -xvf "$1" | sort | sed 's:/.*::' | uniq