#22798: signing-party port is missing a dependency to "getent" --------------------------------------+------------------------------------- Reporter: brian.gupta@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: --------------------------------------+------------------------------------- Comment(by brian.gupta@…): Opps try this: #!/bin/bash if [ -z $1 ]; then echo "You must specify an user" exit 1 else echo dscl . -read /Users/$2 RecordName | sed 's/RecordName: //g':*:dscl . -read /Users/$2 UniqueID | sed 's/UniqueID: //g':dscl . -read /Users/$2 PrimaryGroupID | sed 's/PrimaryGroupID: //g':dscl . -read /Users/$2 RealName | sed -e 's/RealName://g' -e 's/^ //g' | awk '{printf("%s", $0 (NR==1 ? "" : ""))}':/Users/$2:dscl . -read /Users/$2 UserShell | sed 's/UserShell: //g' fi exit 0 -- Ticket URL: <http://trac.macports.org/ticket/22798#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS