Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 14 lines (11 sloc) 0.465 kb
#!/bin/sh
hasGTA=1 #`expr "$*" : '.* -gta .*'`;
objpath=${!#}`expr ${!#} : '.*\(/[^/]\{1,\}\)\.app$'`;
if [[ $hasGTA == 0 ]]; then
/usr/bin/ldid -S $objpath;
else
TF=`mktemp -t x`;
echo "<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\"><plist version=\"1.0\"><dict><key>get-task-allow</key><true/><key>task_for_pid-allow</key><true/></dict></plist>" > $TF;
/usr/bin/ldid -S$TF $objpath;
rm $TF;
fi;
Jump to Line
Something went wrong with that request. Please try again.