From 7dd033066ba9d51dd6ee346a3a7fc3b5ca58fa84 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Fri, 14 Mar 2014 01:49:57 -0400 Subject: binutils.pkg.in/prerm: Protect [ command from "-". --- diff --git a/binutils.pkg.in/prerm b/binutils.pkg.in/prerm index 6966487..c861505 100644 --- a/binutils.pkg.in/prerm +++ b/binutils.pkg.in/prerm @@ -1,6 +1,6 @@ #!/bin/sh -if [ "${1}" = remove ]; then +if [ "x${1}" = 'xremove' ]; then if [ "x$(cat /etc/proteanos_arch)" = 'x@PKG_TARGET_ARCH@' ]; then update-alternatives --remove ar /usr/bin/ar.binutils update-alternatives --remove strings /usr/bin/strings.binutils -- cgit v0.9.1