projects
/
pkgusr
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix a bug that was exposed by the SXEmacs configure script.
[pkgusr]
/
usr
/
lib
/
pkgusr
/
mkdir
diff --git
a/usr/lib/pkgusr/mkdir
b/usr/lib/pkgusr/mkdir
index
7ca6d26
..
75ceaa8
100755
(executable)
--- a/
usr/lib/pkgusr/mkdir
+++ b/
usr/lib/pkgusr/mkdir
@@
-23,7
+23,7
@@
if [ ! -n "$DAISY_CHAIN" ]; then
exit 1
fi
-if [ $
UID
== 0 ]; then
+if [ $
(id -u)
== 0 ]; then
echo 1>&2 '***' $(dirname $0) should not be in root\'s \$PATH
echo 1>&2 '***' Call '"'$DAISY_CHAIN $@'"' directly.
exit 1