summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-05-30 21:34:09 +0000
committerMatt Wilson <msw@redhat.com>2000-05-30 21:34:09 +0000
commit082685e97290bef33d6fe0524f253c64c33fde2f (patch)
tree46fe80df0a84b3260f369d270cfa8e0482b82f10 /scripts
parentdfc6e2e2bfb08eb0233e902bd667c7e3522b0e71 (diff)
no debug, add some arg checking
Diffstat (limited to 'scripts')
-rw-r--r--scripts/pythondeps2
-rwxr-xr-xscripts/scrubtree7
2 files changed, 7 insertions, 2 deletions
diff --git a/scripts/pythondeps b/scripts/pythondeps
index 66362bc36..f0a511cfe 100644
--- a/scripts/pythondeps
+++ b/scripts/pythondeps
@@ -1,4 +1,4 @@
-#!/bin/bash -x
+#!/bin/bash
if [ -z "$1" ]; then
echo "Usage: $0 /path/to/tree"
diff --git a/scripts/scrubtree b/scripts/scrubtree
index 901184278..694f48888 100755
--- a/scripts/scrubtree
+++ b/scripts/scrubtree
@@ -1,4 +1,9 @@
-#!/bin/bash -x
+#!/bin/bash
+
+if [ -z "$1" ]; then
+ echo "Usage: $0 /path/to/tree"
+ return 1
+fi
p=$1