Skip to content

Commit

Permalink
Added check for version input
Browse files Browse the repository at this point in the history
  • Loading branch information
ricbra committed Jan 13, 2015
1 parent 06c1ab5 commit 6925ccd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions build_deb.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
#!/bin/bash

if [ -z ${1+x} ];
then
echo "Missing version number!";
exit
else
echo "Preparing version $1"
fi

ARCHS['amd64']='amd64'
ARCHS['386']='i386'

Expand Down

0 comments on commit 6925ccd

Please sign in to comment.