14 lines
398 B
Text
14 lines
398 B
Text
$NetBSD: patch-ap,v 1.1 2006/10/17 21:32:37 rillig Exp $
|
|
|
|
--- cleanup.sh.orig 2005-12-20 20:50:46.000000000 +0100
|
|
+++ cleanup.sh 2006-10-17 23:28:47.000000000 +0200
|
|
@@ -1,7 +1,7 @@
|
|
#!/bin/sh
|
|
|
|
-if [ "$#" == "2" ] ; then
|
|
- if [ "$1" == "remove" ] ; then
|
|
+if [ "$#" = "2" ] ; then
|
|
+ if [ "$1" = "remove" ] ; then
|
|
if ( test -e "$2" ) ; then
|
|
echo -e "Removing '$2'"
|
|
rm -Rf "$2" ;
|