Update the build-libssh2.sh script to not delete the directory after making it, but...
authorRobert Sesek <rsesek@bluestatic.org>
Tue, 26 Feb 2008 05:22:47 +0000 (00:22 -0500)
committerRobert Sesek <rsesek@bluestatic.org>
Tue, 26 Feb 2008 05:22:47 +0000 (00:22 -0500)
Vendor/build-libssh2.sh

index 470691f7486ced87e3ce7e0570bd09fbb7525363..c0fab693f7296b8c1fc89ae39a8a5edb6289554d 100755 (executable)
@@ -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