Permalink
Browse files

script fixing

  • Loading branch information...
1 parent f066d7f commit 4be16e64016680fa4202dd20c09e831441c8ca42 @MarwanG MarwanG committed Jul 12, 2013
Showing with 3 additions and 9 deletions.
  1. +3 −8 debianBin.sh → debianBin_amd64.sh
  2. +0 −1 packaging.sh
@@ -2,13 +2,7 @@
#debianBin.sh
#creates a binary debian package from source files
-
-if [ ! -f arbogen ]; then
- echo "checking for binary file... no"
- exit 1;
-else
- echo "checking for binary file... ok"
-fi
+file=arbogen_`cat VERSION`_1
if which dpkg >/dev/null; then
echo "checking for dpkg... ok"
@@ -23,8 +17,9 @@ else
echo "checking for fakeroot... no"
exit 1;
fi
+
#creating of directories
-file=arbogen_$1_1
+
mkdir $file
mkdir -p $file/DEBIAN
mkdir -p $file/usr/bin
View
@@ -1,7 +1,6 @@
#!/bin/sh
#packaging.sh
#creates an install package for using the files in its directory
-#the verision is passed as a parameter
pack=arbogen_`cat VERSION`

0 comments on commit 4be16e6

Please sign in to comment.