]> andersk Git - gssapi-openssh.git/blobdiff - bundle/scripts/make-src-bundle
o Remove two gsi_openssh* packages from bundle module.
[gssapi-openssh.git] / bundle / scripts / make-src-bundle
index a5907bacb9ce8ae41c61d52cf9a6d5b25f31aee5..d30cde3f30e5c7d4aead667c78c1e9e757113c48 100755 (executable)
@@ -12,30 +12,9 @@ source ./scripts/version.sh
 NAME="gsi_openssh_bundle-$VERSION-src.tar.gz"
 XML="gsi_openssh_bundle-src.xml"
 
-if [ ! -e output/$NAME ]; then
-    if [ ! -e output/ ]; then
-        mkdir -p output/
-    fi
+cp scripts/$XML work/
 
-    if [ ! -e work/ ]; then
-        WORK_SCRIPTCREATED="1"
-        mkdir -p work/
-        cp scripts/$XML work/
-    fi
-
-    if [ ! -e work/sources/ ]; then
-        cp -a sources work/sources
-    fi
-
-    cd work/
-    $GPT_LOCATION/sbin/gpt-bundle -nodeps -nosetups -srcdir=sources/ -output=$NAME -bv=$VERSION -xml=$XML
-    mv $NAME ../
-    cd ../
-
-    if [ "x$WORK_SCRIPTCREATED" != "x" ]; then
-        rm -rf work/
-    fi
-else
-    echo "Please remove output/$NAME before running this script."
-    exit;
-fi
+cd work/
+$GPT_LOCATION/sbin/gpt-bundle -nodeps -nosetups -srcdir=sources/ -output=$NAME -bv=$VERSION -xml=$XML
+mv $NAME ../
+cd ../
This page took 0.032802 seconds and 4 git commands to generate.