summaryrefslogtreecommitdiff
path: root/libremakepkg
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-06-10 05:16:39 -0500
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-06-10 05:16:39 -0500
commit6e075397e14d65a039ed954ff0a6ab6400e4f02c (patch)
tree8cf1aa92f427ee5d9a3d1654cdab236afbc2a509 /libremakepkg
parent6749a07b4c114613f94aa915f603f00d26c16e0c (diff)
parentf21fd2185aaef0b2e9054c5eb0d4369597bcc0ff (diff)
Merge branch 'master' of vparabola:~/projects/libretools
Diffstat (limited to 'libremakepkg')
-rwxr-xr-xlibremakepkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/libremakepkg b/libremakepkg
index e83bee7..af18e8e 100755
--- a/libremakepkg
+++ b/libremakepkg
@@ -63,7 +63,7 @@ while getopts ${libremakepkgargs} arg ; do
esac
done
-if [ $UID -ne 0 ]; then
+if [ ! -w / ]; then
error "This script must be run as root"
exit 1
fi