tag 488190 patch thanks Sven Joachim wrote:
> Package: devscripts > Version: 2.10.30 > Severity: normal > File: /usr/bin/checkbashisms > > I just switched to dash as /bin/sh and am now fixing my scripts, here is > what checkbashisms noticed for one of them: > > ,---- > | possible bashism in /usr/local/sbin/fix-archives line 5 ($UID should be > | "id -ru"): if [ "$UID" != "0" ]; then > `---- > > The recommended replacement will not work as intended, instead > "$(id -ru)" should be used. Hmm, right. $UID == $(id -ru), while $EUID == $(id -u). Regards, -- Atomo64 - Raphael Please avoid sending me Word, PowerPoint or Excel attachments. See http://www.gnu.org/philosophy/no-word-attachments.html -- To unsubscribe, send mail to [EMAIL PROTECTED]
