diff options
Diffstat (limited to 'librerelease')
-rwxr-xr-x | librerelease | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/librerelease b/librerelease index 56cf856..bc765fe 100755 --- a/librerelease +++ b/librerelease @@ -59,6 +59,11 @@ function clean { find ${WORKDIR}/staging/ -type f -delete } +if [ -w / ]; then + error "Run $0 as normal user" + exit 1 +fi + while getopts 'hlcn' arg; do case $arg in h) usage; exit 0 ;; |