Skip to content

Commit

Permalink
pick the correct filename once we have changed directory
Browse files Browse the repository at this point in the history
  • Loading branch information
cliff moon committed Mar 2, 2010
1 parent e98fd77 commit 1f43391
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gem2deb
Expand Up @@ -38,6 +38,7 @@ suffix=`echo "$1" | tail -c4`
if [ "$suffix" = "gem" ]; then
cp $filename $WORKDIR
cd $WORKDIR
filename=$(basename "$filename")
gem unpack "$filename"
basedir=$(basename "$filename" .gem)
else
Expand Down

0 comments on commit 1f43391

Please sign in to comment.