From 56cd150b9d0ef7fb21cafee6152045fd2e2da0ee Mon Sep 17 00:00:00 2001 From: Bert Date: Sun, 30 Jan 2011 14:47:25 +0100 Subject: [PATCH] Fixed setuid and typo in Makefile, damn copy&paste --- Makefile | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 97b23c1..3b231f0 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ sxiv: $(OBJFILES) $(CC) $(CFLAGS) -c -o $@ $< install: all - install -D -m 4755 -o root -g root sxiv $(PREFIX)/bin/sxiv + install -D -m 755 -o root -g root sxiv $(PREFIX)/bin/sxiv mkdir -p $(PREFIX)/share/man/man1 sed "s/VERSION/$(VERSION)/g" sxiv.1 > $(PREFIX)/share/man/man1/sxiv.1 chmod 644 $(PREFIX)/share/man/man1/sxiv.1 diff --git a/README.md b/README.md index 6cf1f68..96eadf7 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ sxiv is built using the commands: Please note, that the latter one requires root privileges. By default, sxiv is installed using the prefix "/usr/local", so the full path -of the executable will be "/usr/local/sbin/sxiv". +of the executable will be "/usr/local/bin/sxiv". You can install it into a directory of your choice by changing the second command to: