Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etersoft-build-utils
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
korinf
etersoft-build-utils
Commits
e8f75bf4
Commit
e8f75bf4
authored
Mar 06, 2010
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove obsoleted files
parent
2df9134e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
49 deletions
+0
-49
ls-incoming
tools/old/ls-incoming
+0
-16
upload-to-alt
tools/old/upload-to-alt
+0
-33
No files found.
tools/old/ls-incoming
deleted
100755 → 0
View file @
2df9134e
#!/bin/sh
# Lists incoming dir
# Use -M23 and so on
# load common functions, compatible with local and installed script
.
`
dirname
$0
`
/../share/eterbuild/functions/common
parse_cmd_pre
--
"
$@
"
echog
"Checking for private key..."
ssh-add
-l
||
ssh-add
set_incoming
$MENV
rsync
-n
-e
ssh
$RSYNCINCOMING
/
$INCOMING
/
echog
"Ls from
$RSYNCINCOMING
/
$INCOMING
"
tools/old/upload-to-alt
deleted
100755 → 0
View file @
2df9134e
#!/bin/sh
# 2003-2005 (c) Etersoft www.etersoft.ru
# Public domain
# Upload files from upload dir to alt
# 25.01.2005 upload.old.xxx
# 04.11.2005 use arg for set destination (-M23 and so on)
# load common functions, compatible with local and installed script
.
`
dirname
$0
`
/../share/eterbuild/functions/common
build_list_and_args
--
"
$@
"
test
-n
"
$MENV
"
&&
UPLOADDIR
=
${
UPLOADDIR
}
.
$MENV
set_incoming
$MENV
echog
"Changing permissions..."
chmod
644
--
$UPLOADDIR
/
*
.rpm
||
exit
1
echog
"Upload to incoming/
$INCOMING
from
$UPLOADDIR
"
echog
"Checking for sisyphus compliance..."
CHECKSUM
=
"--checksum"
sisyphus_check
$UPLOADDIR
||
exit
1
echo
"Checking for private key..."
ssh-add
-l
||
ssh-add
rsync
-va
--partial
--progress
$CHECKSUM
\
-e
ssh
$UPLOADDIR
/
*
$RSYNCINCOMING
/
$INCOMING
/
RES
=
$?
NSD
=
"old"
uploadOLD
=
$(
basename
`
mktemp
-d
$UPLOADDIR
.
${
NSD
}
.XXX
`
)
rmdir
$uploadOLD
test
$RES
&&
mv
$UPLOADDIR
$uploadOLD
mkdir
$UPLOADDIR
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment