diff options
Diffstat (limited to 'silc')
-rwxr-xr-x | silc/silc-client.build | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/silc/silc-client.build b/silc/silc-client.build index ff53e11f..b2181454 100755 --- a/silc/silc-client.build +++ b/silc/silc-client.build @@ -50,7 +50,7 @@ SRC="$PACKAGE-$VERSION.tar.$PACKAGE_EXT" URL="http://silcnet.org/download/client/sources/$SRC" SRC_DIR="$SRC_DIR/$PACKAGE" -if [ ! -d $SRC_DIR ]; then +if [ ! -d "$SRC_DIR" ]; then mkdir -p $SRC_DIR fi @@ -65,8 +65,7 @@ if [ "$RTOOL" == "wget" ] && [ ! -f "$SRC_DIR/$SRC" ]; then fi TMP="$TMP/$PACKAGE" -if [ ! -d $TMP ]; then - rm -rf $TMP +if [ ! -d "$TMP" ]; then mkdir -p $TMP fi cd $TMP @@ -115,8 +114,6 @@ for file in BSD CHANGES COPYING CREDITS GPL INSTALL README README.CVS README.MAC cp $CWD/$file* /usr/doc/$PACKAGE-$VERSION/ done -makepkg -c y -l y $REPOS/$PACKAGE-$VERSION-$ARCH-$BUILD.tgz - if [ "$CLEANUP" == "yes" ]; then rm -rf $TMP fi |