File tree Expand file tree Collapse file tree 1 file changed +5
-14
lines changed
scripts/BuildScripts/KernelScripts Expand file tree Collapse file tree 1 file changed +5
-14
lines changed Original file line number Diff line number Diff line change @@ -21,28 +21,19 @@ set -e
21
21
# You should have received a copy of the GNU General Public License
22
22
# along with PrawnOS. If not, see <https://www.gnu.org/licenses/>.
23
23
24
- if [ -z " $1 " ]
25
- then
24
+ if [ -z " $1 " ]; then
26
25
echo " No kernel version supplied"
27
26
exit 1
28
- fi
29
- if [ -z " $2 " ]
30
- then
27
+ elif [ -z " $2 " ]; then
31
28
echo " No resources directory"
32
29
exit 1
33
- fi
34
- if [ -z " $3 " ]
35
- then
30
+ elif [ -z " $3 " ]; then
36
31
echo " No build directory supplied"
37
32
exit 1
38
- fi
39
- if [ -z " $4 " ]
40
- then
33
+ elif [ -z " $4 " ]; then
41
34
echo " No PrawnOS initramfs supplied"
42
35
exit 1
43
- fi
44
- if [ -z " $" ]
45
- then
36
+ elif [ -z " $5 " ]; then
46
37
echo " No PrawnOS target arch supplied"
47
38
exit 1
48
39
fi
You can’t perform that action at this time.
0 commit comments