Permalink
Browse files

Make packaging script a little better

  • Loading branch information...
1 parent 283ebc4 commit 4375f710e63a606ba9ca7b92b1b38ccb2abdc911 @fplanque fplanque committed Nov 9, 2016
Showing with 3 additions and 2 deletions.
  1. +3 −2 package.sh
View
@@ -15,5 +15,6 @@ echo Removing myself now
rm -f cleanup.sh
echo Stepping out
cd ..
-echo Compressing
-zip -qr9 b2evolution.zip b2evolution
+echo Compressing...
+currentbasename=${PWD##*/} # Assign current basename to variable
+zip -qr9 ${currentbasename}.zip b2evolution

0 comments on commit 4375f71

Please sign in to comment.