Skip to content

Commit

Permalink
s/mkall: make sure the source code top directory is ~/os386/src
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotr Durlej committed Oct 8, 2017
1 parent d752dc2 commit 97ce9a9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions s/mkall
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@

set -e

if [ "$(pwd)" != "$HOME/os386/src" ]; then
echo "s/mkall: Both the source code root directory and cwd must be \$HOME/os386/src" >&2
exit 1
fi

(cd gcc && sh all.sh)

for i in i386 amd64; do
Expand Down

0 comments on commit 97ce9a9

Please sign in to comment.