From 521de973041492f2eca609f2dd51500befec723f Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Tue, 26 Feb 2008 00:22:47 -0500 Subject: [PATCH] Update the build-libssh2.sh script to not delete the directory after making it, but before recreating it --- Vendor/build-libssh2.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Vendor/build-libssh2.sh b/Vendor/build-libssh2.sh index 470691f..c0fab69 100755 --- a/Vendor/build-libssh2.sh +++ b/Vendor/build-libssh2.sh @@ -4,6 +4,9 @@ NAME=libssh2-0.18 DEST=`cd ..; pwd`/libssh2 CONFIG="--prefix=$DEST --disable-shared --enable-static" +# cleanup +rm -rf $NAME + # unzip tar xzvf $NAME.tar.gz cd $NAME @@ -25,8 +28,4 @@ lipo -create src/libs-ppc/libssh2.a src/libssh2-i386.a -output src/.libs/libssh2 # put it in the right place make install -ranlib $DEST/lib/libssh2.a - -# cleanup -cd .. -rm -rf $NAME \ No newline at end of file +ranlib $DEST/lib/libssh2.a \ No newline at end of file -- 2.22.5