Skip to content

Instantly share code, notes, and snippets.

@moyashi
Created July 16, 2010 11:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save moyashi/478244 to your computer and use it in GitHub Desktop.
Save moyashi/478244 to your computer and use it in GitHub Desktop.
#!/bin/sh
if [ $# -ne 1 ]; then
echo "Wrong number of arguments"
exit 1
fi
if [ -d $1 ]; then
dpkg-deb -b ${1%/}
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment