summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7ec2a59)
raw | patch | inline | side by side (parent: 7ec2a59)
author | jiho-sf <jiho-sf@users.sourceforge.net> | |
Sat, 8 Dec 2007 11:42:56 +0000 (11:42 +0000) | ||
committer | jiho-sf <jiho-sf@users.sourceforge.net> | |
Sat, 8 Dec 2007 11:42:56 +0000 (11:42 +0000) |
packaging/macosx/osx-build.sh | patch | blob | history |
index a708c8f2c9e3bd2d9d717205e342ad82c56b0f5c..487ed2bedb9c72feac3fca3c4e13bcf8bc5a3088 100755 (executable)
# Libraries prefix (Warning: NO trailing slash)
LIBPREFIX="/opt/local"
# User name on Modevia
-MODEVIA_USER=""
+MODEVIA_NAME=""
############################################################
if [[ "$UPLOAD" == "t" ]]
then
+ # Provide default for user name on modevia
+ if [[ "$MODEVIA_NAME" == "" ]]; then
+ MODEVIA_NAME=$USER
+ fi
+ # Uploasd file
scp $DMGFILE $INFOFILE "$MODEVIA_NAME"@inkscape.modevia.com:inkscape/docs/macosx-snap/
status=$?
if [[ $status -ne 0 ]]; then