]> git.armaanb.net Git - bin.git/blobdiff - patch-zoom
xsel: new script
[bin.git] / patch-zoom
index b619f6a6aaa381873f39770688ecccbe2ff1663a..790da4ae46d785e5df9c48a4d31664175004da25 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env bash
+#!/usr/bin/env sh
 # From https://hashman.ca/zoom/. Patches a zoom .deb to remove the ibus dependency
 
 scratch=/tmp/patch-zoom
@@ -6,7 +6,7 @@ rm -rf $scratch
 mkdir $scratch
 
 # Extract package contents
-cp $1 $scratch/zoom_amd64.deb
+cp ${1} $scratch/zoom_amd64.deb
 dpkg -x $scratch/zoom_amd64.deb $scratch/extracted
 
 # Extract package control information