Skip to content

Commit

Permalink
Fixup the scripts.
Browse files Browse the repository at this point in the history
  • Loading branch information
npyl committed Jan 22, 2019
1 parent 076e987 commit 444bf27
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion Resources/InstallCocoasudo.command
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
cd "$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"

cp -R cocoasudo.app /usr/local/bin
ln -s /usr/local/bin/cocoasudo.app/Contents/MacOS/cocoasudo /usr/local/bin/cocoasudo
ln -s /usr/local/bin/cocoasudo.app/Contents/Resources/cocoasudo.sh /usr/local/bin/cocoasudo

chmod +x /usr/local/bin/cocoasudo
2 changes: 1 addition & 1 deletion Resources/cocoasudo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Created by Nickolas Pylarinos Stamatelatos on 14/12/2018.
# Copyright © 2018 Nickolas Pylarinos Stamatelatos. All rights reserved.

/usr/local/bin/cocoasudo.app/Contents/MacOS/cocoasudo $1 $2
/usr/local/bin/cocoasudo.app/Contents/MacOS/cocoasudo "$@"

0 comments on commit 444bf27

Please sign in to comment.