diff options
-rwxr-xr-x | librerelease | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/librerelease b/librerelease index 64f8887..c4584e1 100755 --- a/librerelease +++ b/librerelease @@ -83,6 +83,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 ;; |