mirror of
https://github.com/DoctorWkt/unix-jun72.git
synced 2026-01-11 23:53:34 +00:00
Create build/ if it doesn't exist.
This commit is contained in:
parent
bcee3fe083
commit
cb4ff68ce4
@ -10,8 +10,7 @@ if [ ! -d fs ]
|
||||
then echo 'No fs/ directory, are you running this in the correct dir?'; exit 1
|
||||
fi
|
||||
if [ ! -d build ]
|
||||
then echo 'No build/ directory, are you running this in the correct dir?'
|
||||
exit 1
|
||||
then mkdir build
|
||||
fi
|
||||
if [ ! -x tools/mkfs ]
|
||||
then echo "tools/mkfs doesn't exist, looks like you need to compile it"; exit 1
|
||||
@ -32,5 +31,5 @@ rsync -a --exclude .svn fs/usr build
|
||||
rsync -a --exclude .svn fs/new/etc build/root
|
||||
|
||||
# Now build the two images
|
||||
tools/mkfs build/root $rf_img rf
|
||||
tools/mkfs build/usr $rk_img rk
|
||||
tools/mkfs -p fs/Readme build/root $rf_img rf
|
||||
tools/mkfs -p fs/Readme build/usr $rk_img rk
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user